8 lines
No EOL
336 B
Text
8 lines
No EOL
336 B
Text
==== tests/cases/conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration7.ts (2 errors) ====
|
|
class C {
|
|
public private constructor() { }
|
|
~~~~~~~
|
|
!!! Accessibility modifier already seen.
|
|
~~~~~~~
|
|
!!! 'private' modifier cannot appear on a constructor declaration.
|
|
} |