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.
11 lines
No EOL
487 B
Text
11 lines
No EOL
487 B
Text
tests/cases/compiler/incompleteDottedExpressionAtEOF.ts(2,10): error TS2304: Cannot find name 'window'.
|
|
tests/cases/compiler/incompleteDottedExpressionAtEOF.ts(2,18): error TS1003: Identifier expected.
|
|
|
|
|
|
==== tests/cases/compiler/incompleteDottedExpressionAtEOF.ts (2 errors) ====
|
|
// used to leak __missing into error message
|
|
var p2 = window.
|
|
~~~~~~
|
|
!!! error TS2304: Cannot find name 'window'.
|
|
|
|
!!! error TS1003: Identifier expected. |