12 lines
287 B
Plaintext
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))
|
|
}
|