26 lines
869 B
Text
26 lines
869 B
Text
=== tests/cases/compiler/enumNumbering1.ts ===
|
|
enum Test {
|
|
>Test : Symbol(Test, Decl(enumNumbering1.ts, 0, 0))
|
|
|
|
A,
|
|
>A : Symbol(Test.A, Decl(enumNumbering1.ts, 0, 11))
|
|
|
|
B,
|
|
>B : Symbol(Test.B, Decl(enumNumbering1.ts, 1, 6))
|
|
|
|
C = Math.floor(Math.random() * 1000),
|
|
>C : Symbol(Test.C, Decl(enumNumbering1.ts, 2, 6))
|
|
>Math.floor : Symbol(Math.floor, Decl(lib.d.ts, 582, 27))
|
|
>Math : Symbol(Math, Decl(lib.d.ts, 522, 1), Decl(lib.d.ts, 633, 11))
|
|
>floor : Symbol(Math.floor, Decl(lib.d.ts, 582, 27))
|
|
>Math.random : Symbol(Math.random, Decl(lib.d.ts, 608, 38))
|
|
>Math : Symbol(Math, Decl(lib.d.ts, 522, 1), Decl(lib.d.ts, 633, 11))
|
|
>random : Symbol(Math.random, Decl(lib.d.ts, 608, 38))
|
|
|
|
D = 10,
|
|
>D : Symbol(Test.D, Decl(enumNumbering1.ts, 3, 41))
|
|
|
|
E // Error but shouldn't be
|
|
>E : Symbol(Test.E, Decl(enumNumbering1.ts, 4, 11))
|
|
}
|
|
|