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