TypeScript/tests/baselines/reference/nestedGenerics.symbols
2015-04-15 16:44:20 -07:00

16 lines
455 B
Plaintext

=== tests/cases/compiler/nestedGenerics.ts ===
interface Foo<T> {
>Foo : Symbol(Foo, Decl(nestedGenerics.ts, 0, 0))
>T : Symbol(T, Decl(nestedGenerics.ts, 0, 14))
t: T;
>t : Symbol(t, Decl(nestedGenerics.ts, 0, 18))
>T : Symbol(T, Decl(nestedGenerics.ts, 0, 14))
}
var f: Foo<Foo<number>>;
>f : Symbol(f, Decl(nestedGenerics.ts, 4, 3))
>Foo : Symbol(Foo, Decl(nestedGenerics.ts, 0, 0))
>Foo : Symbol(Foo, Decl(nestedGenerics.ts, 0, 0))