TypeScript/tests/baselines/reference/Protected3.errors.txt

9 lines
402 B
Plaintext
Raw Normal View History

2014-09-20 02:58:16 +02:00
tests/cases/conformance/parser/ecmascript5/Protected/Protected3.ts(2,3): error TS1089: 'protected' modifier cannot appear on a constructor declaration.
2014-09-19 00:37:16 +02:00
2014-09-20 02:58:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected3.ts (1 errors) ====
2014-09-19 00:37:16 +02:00
class C {
protected constructor() { }
~~~~~~~~~
2014-09-20 02:58:16 +02:00
!!! error TS1089: 'protected' modifier cannot appear on a constructor declaration.
}