TypeScript/tests/baselines/reference/enumConflictsWithGlobalIdentifier.errors.txt
2014-07-12 17:30:19 -07:00

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.