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
533 B
Text
11 lines
No EOL
533 B
Text
tests/cases/conformance/parser/ecmascript5/RegressionTests/parser519458.ts(1,1): error TS2304: Cannot find name 'module'.
|
|
tests/cases/conformance/parser/ecmascript5/RegressionTests/parser519458.ts(1,21): error TS1005: ';' expected.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/RegressionTests/parser519458.ts (2 errors) ====
|
|
import rect = module("rect"); var bar = new rect.Rect();
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'module'.
|
|
~
|
|
!!! error TS1005: ';' expected.
|
|
|