2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration8.ts (2 errors) ====
|
|
|
|
class C {
|
|
|
|
// Not a constructor
|
|
|
|
public constructor;
|
|
|
|
~
|
|
|
|
!!! '(' expected.
|
|
|
|
~~~~~~~~~~~~~~~~~~~
|
2014-07-31 01:27:13 +02:00
|
|
|
!!! Constructor implementation is missing.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|