TypeScript/tests/baselines/reference/enumConflictsWithGlobalIdentifier.errors.txt

11 lines
No EOL
362 B
Text

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