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