11 lines
332 B
Plaintext
11 lines
332 B
Plaintext
|
==== tests/cases/compiler/enumConflictsWithGlobalIdentifier.ts (2 errors) ====
|
||
|
enum Position {
|
||
|
IgnoreRulesSpecific = 0,
|
||
|
}
|
||
|
var x = IgnoreRulesSpecific.
|
||
|
~~~~~~~~~~~~~~~~~~~
|
||
|
!!! Cannot find name 'IgnoreRulesSpecific'.
|
||
|
var y = Position.IgnoreRulesSpecific;
|
||
|
~
|
||
|
!!! ',' expected.
|
||
|
|