File: missingTypeArguments2.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (21 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
=== tests/cases/compiler/missingTypeArguments2.ts ===
class A<T> { }
>A : Symbol(A, Decl(missingTypeArguments2.ts, 0, 0))
>T : Symbol(T, Decl(missingTypeArguments2.ts, 0, 8))

var x: () => A;
>x : Symbol(x, Decl(missingTypeArguments2.ts, 2, 3))
>A : Symbol(A, Decl(missingTypeArguments2.ts, 0, 0))

(a: A) => { };
>a : Symbol(a, Decl(missingTypeArguments2.ts, 3, 1))
>A : Symbol(A, Decl(missingTypeArguments2.ts, 0, 0))

var y: A<A>;
>y : Symbol(y, Decl(missingTypeArguments2.ts, 4, 3))
>A : Symbol(A, Decl(missingTypeArguments2.ts, 0, 0))
>A : Symbol(A, Decl(missingTypeArguments2.ts, 0, 0))

(): A => null;
>A : Symbol(A, Decl(missingTypeArguments2.ts, 0, 0))