2014-11-17 23:38:35 +01:00
|
|
|
tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName30.ts(3,11): error TS2304: Cannot find name 'id'.
|
2014-12-17 00:56:56 +01:00
|
|
|
tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName30.ts(4,5): error TS1005: ',' expected.
|
2014-11-17 23:38:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName30.ts (2 errors) ====
|
|
|
|
enum E {
|
|
|
|
// no ASI, comma expected
|
|
|
|
[e] = id++
|
|
|
|
~~
|
|
|
|
!!! error TS2304: Cannot find name 'id'.
|
|
|
|
[e2] = 1
|
|
|
|
~
|
|
|
|
!!! error TS1005: ',' expected.
|
|
|
|
}
|