TypeScript/tests/baselines/reference/classExtendsEveryObjectType2.errors.txt

15 lines
1.2 KiB
Plaintext
Raw Normal View History

2015-04-01 02:23:52 +02:00
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts(1,18): error TS9002: Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses.
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts(1,31): error TS1005: ',' expected.
2015-04-01 02:23:52 +02:00
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts(3,18): error TS9002: Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses.
==== tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts (3 errors) ====
2014-07-15 01:47:50 +02:00
class C2 extends { foo: string; } { } // error
~~~~~~~~~~~~~~~~
2015-04-01 02:23:52 +02:00
!!! error TS9002: Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses.
~
!!! error TS1005: ',' expected.
2014-07-15 01:47:50 +02:00
class C6 extends []{ } // error
~~
2015-04-01 02:23:52 +02:00
!!! error TS9002: Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses.