2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/staticMustPrecedePublic.ts(2,12): error TS1029: 'public' modifier must precede 'static' modifier.
|
|
|
|
tests/cases/compiler/staticMustPrecedePublic.ts(3,12): error TS1029: 'private' modifier must precede 'static' modifier.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/staticMustPrecedePublic.ts (2 errors) ====
|
|
|
|
class Outer {
|
|
|
|
static public intI: number;
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1029: 'public' modifier must precede 'static' modifier.
|
2014-07-13 01:04:16 +02:00
|
|
|
static private stringF: string;
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1029: 'private' modifier must precede 'static' modifier.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
|