f1a2e41a8a
This was we don't get noisy baselines just because a different phase of the compiler reported the diagnostic. This helps with Yui's refactoring work to move grammar checks into the type checker.
22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
tests/cases/conformance/es6/templates/templateStringInPropertyName1.ts(1,9): error TS2349: Cannot invoke an expression whose type lacks a call signature.
|
|
tests/cases/conformance/es6/templates/templateStringInPropertyName1.ts(2,5): error TS1136: Property assignment expected.
|
|
tests/cases/conformance/es6/templates/templateStringInPropertyName1.ts(2,8): error TS1005: ',' expected.
|
|
tests/cases/conformance/es6/templates/templateStringInPropertyName1.ts(2,10): error TS1134: Variable declaration expected.
|
|
tests/cases/conformance/es6/templates/templateStringInPropertyName1.ts(3,1): error TS1128: Declaration or statement expected.
|
|
|
|
|
|
==== tests/cases/conformance/es6/templates/templateStringInPropertyName1.ts (5 errors) ====
|
|
var x = {
|
|
~
|
|
`a`: 321
|
|
~~~~~~~
|
|
!!! error TS2349: Cannot invoke an expression whose type lacks a call signature.
|
|
~~~
|
|
!!! error TS1136: Property assignment expected.
|
|
~
|
|
!!! error TS1005: ',' expected.
|
|
~~~
|
|
!!! error TS1134: Variable declaration expected.
|
|
}
|
|
~
|
|
!!! error TS1128: Declaration or statement expected. |