This vastly improves our error tolerance and messages for when the user writes an illegal heritage clause sequence.
9 lines
No EOL
345 B
Text
9 lines
No EOL
345 B
Text
tests/cases/compiler/classExtendsMultipleBaseClasses.ts(3,19): error TS1174: Classes can only extend a single class.
|
|
|
|
|
|
==== tests/cases/compiler/classExtendsMultipleBaseClasses.ts (1 errors) ====
|
|
class A { }
|
|
class B { }
|
|
class C extends A,B { }
|
|
~
|
|
!!! error TS1174: Classes can only extend a single class. |