TypeScript/tests/baselines/reference/enumConflictsWithGlobalIdentifier.errors.txt
2014-11-19 17:15:25 -08:00

15 lines
No EOL
614 B
Text

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