f1a2e41a8a
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.
12 lines
452 B
Plaintext
12 lines
452 B
Plaintext
tests/cases/compiler/moduleKeywordRepeatError.ts(3,1): error TS2304: Cannot find name 'module'.
|
|
tests/cases/compiler/moduleKeywordRepeatError.ts(3,15): error TS1005: ';' expected.
|
|
|
|
|
|
==== tests/cases/compiler/moduleKeywordRepeatError.ts (2 errors) ====
|
|
// "module.module { }" should raise a syntax error
|
|
|
|
module.module { }
|
|
~~~~~~
|
|
!!! error TS2304: Cannot find name 'module'.
|
|
~
|
|
!!! error TS1005: ';' expected. |