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
425 B
Text
11 lines
No EOL
425 B
Text
tests/cases/compiler/parseErrorInHeritageClause1.ts(1,17): error TS2304: Cannot find name 'A'.
|
|
tests/cases/compiler/parseErrorInHeritageClause1.ts(1,19): error TS1127: Invalid character.
|
|
|
|
|
|
==== tests/cases/compiler/parseErrorInHeritageClause1.ts (2 errors) ====
|
|
class C extends A # {
|
|
~
|
|
!!! error TS2304: Cannot find name 'A'.
|
|
|
|
!!! error TS1127: Invalid character.
|
|
} |