mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
471 B
Plaintext
17 lines
471 B
Plaintext
//// [tests/cases/compiler/autonumberingInEnums.ts] ////
|
|
|
|
=== autonumberingInEnums.ts ===
|
|
enum Foo {
|
|
>Foo : Symbol(Foo, Decl(autonumberingInEnums.ts, 0, 0), Decl(autonumberingInEnums.ts, 2, 1))
|
|
|
|
a = 1
|
|
>a : Symbol(Foo.a, Decl(autonumberingInEnums.ts, 0, 10))
|
|
}
|
|
|
|
enum Foo {
|
|
>Foo : Symbol(Foo, Decl(autonumberingInEnums.ts, 0, 0), Decl(autonumberingInEnums.ts, 2, 1))
|
|
|
|
b // should work fine
|
|
>b : Symbol(Foo.b, Decl(autonumberingInEnums.ts, 4, 10))
|
|
}
|