TypeScript/tests/baselines/reference/inOperatorWithGeneric.types
2015-04-13 14:29:37 -07:00

17 lines
561 B
Plaintext

=== tests/cases/compiler/inOperatorWithGeneric.ts ===
class C<T> {
>C : C<T>, Symbol(C, Decl(inOperatorWithGeneric.ts, 0, 0))
>T : T, Symbol(T, Decl(inOperatorWithGeneric.ts, 0, 8))
foo(x:T) {
>foo : (x: T) => void, Symbol(foo, Decl(inOperatorWithGeneric.ts, 0, 12))
>x : T, Symbol(x, Decl(inOperatorWithGeneric.ts, 1, 8))
>T : T, Symbol(T, Decl(inOperatorWithGeneric.ts, 0, 8))
for (var p in x) {
>p : any, Symbol(p, Decl(inOperatorWithGeneric.ts, 2, 16))
>x : T, Symbol(x, Decl(inOperatorWithGeneric.ts, 1, 8))
}
}
}