mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
378 B
Plaintext
12 lines
378 B
Plaintext
//// [tests/cases/compiler/constEnumBadPropertyNames.ts] ////
|
|
|
|
=== constEnumBadPropertyNames.ts ===
|
|
const enum E { A }
|
|
>E : Symbol(E, Decl(constEnumBadPropertyNames.ts, 0, 0))
|
|
>A : Symbol(E.A, Decl(constEnumBadPropertyNames.ts, 0, 14))
|
|
|
|
var x = E["B"]
|
|
>x : Symbol(x, Decl(constEnumBadPropertyNames.ts, 1, 3))
|
|
>E : Symbol(E, Decl(constEnumBadPropertyNames.ts, 0, 0))
|
|
|