TypeScript/tests/baselines/reference/parserComputedPropertyName2.errors.txt
2014-12-11 16:49:53 -08:00

7 lines
No EOL
407 B
Text

tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName2.ts(1,11): error TS9002: Computed property names are not currently supported.
==== tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName2.ts (1 errors) ====
var v = { [e]: 1 };
~~~
!!! error TS9002: Computed property names are not currently supported.