9 lines
314 B
Plaintext
9 lines
314 B
Plaintext
==== tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration8.ts (2 errors) ====
|
|
class C {
|
|
// Not a constructor
|
|
public constructor;
|
|
~
|
|
!!! '(' expected.
|
|
~~~~~~~~~~~~~~~~~~~
|
|
!!! Constructor implementation is missing.
|
|
} |