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.
13 lines
No EOL
637 B
Text
13 lines
No EOL
637 B
Text
tests/cases/conformance/parser/ecmascript5/MissingTokens/parserMissingToken1.ts(1,1): error TS2304: Cannot find name 'a'.
|
|
tests/cases/conformance/parser/ecmascript5/MissingTokens/parserMissingToken1.ts(1,5): error TS1109: Expression expected.
|
|
tests/cases/conformance/parser/ecmascript5/MissingTokens/parserMissingToken1.ts(1,12): error TS1005: '{' expected.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/MissingTokens/parserMissingToken1.ts (3 errors) ====
|
|
a / finally
|
|
~
|
|
!!! error TS2304: Cannot find name 'a'.
|
|
~~~~~~~
|
|
!!! error TS1109: Expression expected.
|
|
|
|
!!! error TS1005: '{' expected. |