12 lines
No EOL
356 B
Text
12 lines
No EOL
356 B
Text
==== tests/cases/compiler/enumMemberResolution.ts (2 errors) ====
|
|
enum Position2 {
|
|
IgnoreRulesSpecific = 0
|
|
}
|
|
var x = IgnoreRulesSpecific. // error
|
|
~~~~~~~~~~~~~~~~~~~
|
|
!!! Cannot find name 'IgnoreRulesSpecific'.
|
|
var y = 1;
|
|
~
|
|
!!! ',' expected.
|
|
var z = Position2.IgnoreRulesSpecific; // no error
|
|
|