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.
14 lines
No EOL
819 B
Text
14 lines
No EOL
819 B
Text
tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration5.ts(1,17): error TS2304: Cannot find name 'A'.
|
|
tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration5.ts(1,30): error TS2304: Cannot find name 'B'.
|
|
tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration5.ts(1,32): error TS1175: 'implements' clause already seen.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration5.ts (3 errors) ====
|
|
class C extends A implements B implements C {
|
|
~
|
|
!!! error TS2304: Cannot find name 'A'.
|
|
~
|
|
!!! error TS2304: Cannot find name 'B'.
|
|
~~~~~~~~~~
|
|
!!! error TS1175: 'implements' clause already seen.
|
|
} |