2014-11-18 23:34:04 +01:00
tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName26.ts(3,5): error TS1164: Computed property names are not allowed in enums.
2014-11-17 23:38:35 +01:00
tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName26.ts(4,6): error TS2304: Cannot find name 'e2'.
==== tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName26.ts (2 errors) ====
enum E {
// No ASI
[e] = 0
~~~
2014-11-18 23:34:04 +01:00
!!! error TS1164: Computed property names are not allowed in enums.
2014-11-17 23:38:35 +01:00
[e2] = 1
~~
!!! error TS2304: Cannot find name 'e2'.
}