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

9 lines
383 B
Plaintext
Raw Normal View History

2014-09-20 02:58:16 +02:00
tests/cases/conformance/parser/ecmascript5/Protected/Protected6.ts(2,10): error TS1029: 'protected' modifier must precede 'static' modifier.
2014-09-19 00:37:16 +02:00
2014-09-20 02:58:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/Protected/Protected6.ts (1 errors) ====
2014-09-19 00:37:16 +02:00
class C {
static protected m() { }
~~~~~~~~~
2014-09-20 02:58:16 +02:00
!!! error TS1029: 'protected' modifier must precede 'static' modifier.
}