TypeScript/tests/baselines/reference/classExtendsEveryObjectType2.errors.txt
2014-09-12 13:35:07 -07:00

15 lines
No EOL
864 B
Text

tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts(1,18): error TS1003: Identifier expected.
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts(3,18): error TS1003: Identifier expected.
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts(3,20): error TS1005: ';' expected.
==== tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts (3 errors) ====
class C2 extends { foo: string; } { } // error
~
!!! error TS1003: Identifier expected.
class C6 extends []{ } // error
~
!!! error TS1003: Identifier expected.
~
!!! error TS1005: ';' expected.