2014-12-17 00:56:56 +01:00
tests/cases/conformance/es6/templates/templateStringInPropertyName2.ts(1,9): error TS2349: Cannot invoke an expression whose type lacks a call signature.
2014-10-24 01:55:35 +02:00
tests/cases/conformance/es6/templates/templateStringInPropertyName2.ts(2,5): error TS1136: Property assignment expected.
tests/cases/conformance/es6/templates/templateStringInPropertyName2.ts(2,32): error TS1005: ',' expected.
tests/cases/conformance/es6/templates/templateStringInPropertyName2.ts(2,34): error TS1134: Variable declaration expected.
tests/cases/conformance/es6/templates/templateStringInPropertyName2.ts(3,1): error TS1128: Declaration or statement expected.
2014-11-19 06:52:22 +01:00
==== tests/cases/conformance/es6/templates/templateStringInPropertyName2.ts (5 errors) ====
2014-10-24 01:55:35 +02:00
var x = {
~
`abc${ 123 }def${ 456 }ghi`: 321
2014-12-17 00:56:56 +01:00
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2349: Cannot invoke an expression whose type lacks a call signature.
2014-10-24 01:55:35 +02:00
~~~~~~
!!! error TS1136: Property assignment expected.
~
!!! error TS1005: ',' expected.
~~~
!!! error TS1134: Variable declaration expected.
}
~
!!! error TS1128: Declaration or statement expected.