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

16 lines
No EOL
875 B
Text

tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive2.ts(3,19): error TS1003: Identifier expected.
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive2.ts(4,19): error TS1003: Identifier expected.
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive2.ts(4,24): error TS1005: ';' expected.
==== tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive2.ts (3 errors) ====
// classes cannot extend primitives
class C4a extends void {}
~~~~
!!! error TS1003: Identifier expected.
class C5a extends null { }
~~~~
!!! error TS1003: Identifier expected.
~
!!! error TS1005: ';' expected.