File: constructorInvocationWithTooFewTypeArgs.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 (20 lines) | stat: -rw-r--r-- 803 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
=== tests/cases/compiler/constructorInvocationWithTooFewTypeArgs.ts ===
class D<T, U> {
>D : Symbol(D, Decl(constructorInvocationWithTooFewTypeArgs.ts, 0, 0))
>T : Symbol(T, Decl(constructorInvocationWithTooFewTypeArgs.ts, 0, 8))
>U : Symbol(U, Decl(constructorInvocationWithTooFewTypeArgs.ts, 0, 10))

   x: T
>x : Symbol(D.x, Decl(constructorInvocationWithTooFewTypeArgs.ts, 0, 15))
>T : Symbol(T, Decl(constructorInvocationWithTooFewTypeArgs.ts, 0, 8))

   y: U
>y : Symbol(D.y, Decl(constructorInvocationWithTooFewTypeArgs.ts, 2, 7))
>U : Symbol(U, Decl(constructorInvocationWithTooFewTypeArgs.ts, 0, 10))

}
 
var d = new D<number>();
>d : Symbol(d, Decl(constructorInvocationWithTooFewTypeArgs.ts, 8, 3))
>D : Symbol(D, Decl(constructorInvocationWithTooFewTypeArgs.ts, 0, 0))