File: typeInferenceFixEarly.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 (14 lines) | stat: -rw-r--r-- 606 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
=== tests/cases/compiler/typeInferenceFixEarly.ts ===
declare function f<T>(p: (t: T) => T): T;
>f : Symbol(f, Decl(typeInferenceFixEarly.ts, 0, 0))
>T : Symbol(T, Decl(typeInferenceFixEarly.ts, 0, 19))
>p : Symbol(p, Decl(typeInferenceFixEarly.ts, 0, 22))
>t : Symbol(t, Decl(typeInferenceFixEarly.ts, 0, 26))
>T : Symbol(T, Decl(typeInferenceFixEarly.ts, 0, 19))
>T : Symbol(T, Decl(typeInferenceFixEarly.ts, 0, 19))
>T : Symbol(T, Decl(typeInferenceFixEarly.ts, 0, 19))

f(n => 3);
>f : Symbol(f, Decl(typeInferenceFixEarly.ts, 0, 0))
>n : Symbol(n, Decl(typeInferenceFixEarly.ts, 2, 2))