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
671 B
Text
13 lines
No EOL
671 B
Text
tests/cases/conformance/parser/ecmascript5/Expressions/parserPostfixUnaryExpression1.ts(1,1): error TS2304: Cannot find name 'foo'.
|
|
tests/cases/conformance/parser/ecmascript5/Expressions/parserPostfixUnaryExpression1.ts(1,8): error TS1005: ';' expected.
|
|
tests/cases/conformance/parser/ecmascript5/Expressions/parserPostfixUnaryExpression1.ts(1,10): error TS1109: Expression expected.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/Expressions/parserPostfixUnaryExpression1.ts (3 errors) ====
|
|
foo ++ ++;
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'foo'.
|
|
~~
|
|
!!! error TS1005: ';' expected.
|
|
~
|
|
!!! error TS1109: Expression expected. |