2014-10-21 02:38:50 +02:00
|
|
|
tests/cases/conformance/parser/ecmascript5/EnumDeclarations/parserEnum7.ts(2,3): error TS2452: An enum member cannot have a numeric name.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/EnumDeclarations/parserEnum7.ts(2,6): error TS2452: An enum member cannot have a numeric name.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/EnumDeclarations/parserEnum7.ts(2,9): error TS2452: An enum member cannot have a numeric name.
|
2014-10-13 06:44:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/EnumDeclarations/parserEnum7.ts (3 errors) ====
|
|
|
|
enum E {
|
|
|
|
1, 2, 3
|
|
|
|
~
|
2014-10-21 02:38:50 +02:00
|
|
|
!!! error TS2452: An enum member cannot have a numeric name.
|
2014-10-13 06:44:29 +02:00
|
|
|
~
|
2014-10-21 02:38:50 +02:00
|
|
|
!!! error TS2452: An enum member cannot have a numeric name.
|
2014-10-13 06:44:29 +02:00
|
|
|
~
|
2014-10-21 02:38:50 +02:00
|
|
|
!!! error TS2452: An enum member cannot have a numeric name.
|
2014-10-07 07:27:22 +02:00
|
|
|
}
|