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