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

12 lines
287 B
Plaintext

=== tests/cases/compiler/indexIntoEnum.ts ===
module M {
>M : Symbol(M, Decl(indexIntoEnum.ts, 0, 0))
enum E { }
>E : Symbol(E, Decl(indexIntoEnum.ts, 0, 10))
var x = E[0];
>x : Symbol(x, Decl(indexIntoEnum.ts, 4, 7))
>E : Symbol(E, Decl(indexIntoEnum.ts, 0, 10))
}