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

11 lines
332 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/enumConflictsWithGlobalIdentifier.ts (2 errors) ====
enum Position {
IgnoreRulesSpecific = 0,
}
var x = IgnoreRulesSpecific.
~~~~~~~~~~~~~~~~~~~
!!! Cannot find name 'IgnoreRulesSpecific'.
var y = Position.IgnoreRulesSpecific;
~
!!! ',' expected.