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.
10 lines
399 B
Plaintext
10 lines
399 B
Plaintext
tests/cases/compiler/badArrayIndex.ts(1,15): error TS2304: Cannot find name 'number'.
|
|
tests/cases/compiler/badArrayIndex.ts(1,22): error TS1109: Expression expected.
|
|
|
|
|
|
==== tests/cases/compiler/badArrayIndex.ts (2 errors) ====
|
|
var results = number[];
|
|
~~~~~~
|
|
!!! error TS2304: Cannot find name 'number'.
|
|
~
|
|
!!! error TS1109: Expression expected. |