9 lines
442 B
Text
9 lines
442 B
Text
|
tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName35.ts(2,6): error TS1171: A comma expression is not allowed in a computed property name.
|
||
|
|
||
|
|
||
|
==== tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName35.ts (1 errors) ====
|
||
|
var x = {
|
||
|
[0, 1]: { }
|
||
|
~~~~
|
||
|
!!! error TS1171: A comma expression is not allowed in a computed property name.
|
||
|
}
|