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.
19 lines
No EOL
873 B
Text
19 lines
No EOL
873 B
Text
tests/cases/compiler/interfaceNaming1.ts(1,1): error TS2304: Cannot find name 'interface'.
|
|
tests/cases/compiler/interfaceNaming1.ts(1,11): error TS1005: ';' expected.
|
|
tests/cases/compiler/interfaceNaming1.ts(3,1): error TS2304: Cannot find name 'interface'.
|
|
tests/cases/compiler/interfaceNaming1.ts(3,13): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.
|
|
|
|
|
|
==== tests/cases/compiler/interfaceNaming1.ts (4 errors) ====
|
|
interface { }
|
|
~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'interface'.
|
|
~
|
|
!!! error TS1005: ';' expected.
|
|
interface interface{ }
|
|
interface & { }
|
|
~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'interface'.
|
|
~~~
|
|
!!! error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.
|
|
|