5770434891
* Revert "Only issue matching token errors on non-dupe locations (#43460)" This reverts commit76a2ae3d69
. * Revert "Adding Diagnostic message for missing ']' and ')' in Array literal and conditional statements (#40884)" This reverts commit555ef73da8
. * re-add clobbered merge lines
13 lines
687 B
Plaintext
13 lines
687 B
Plaintext
tests/cases/compiler/objectLiteralWithSemicolons4.ts(2,3): error TS18004: No value exists in scope for the shorthand property 'a'. Either declare one or provide an initializer.
|
|
tests/cases/compiler/objectLiteralWithSemicolons4.ts(3,1): error TS1005: ',' expected.
|
|
|
|
|
|
==== tests/cases/compiler/objectLiteralWithSemicolons4.ts (2 errors) ====
|
|
var v = {
|
|
a
|
|
~
|
|
!!! error TS18004: No value exists in scope for the shorthand property 'a'. Either declare one or provide an initializer.
|
|
;
|
|
~
|
|
!!! error TS1005: ',' expected.
|
|
!!! related TS1007 tests/cases/compiler/objectLiteralWithSemicolons4.ts:1:9: The parser expected to find a '}' to match the '{' token here. |