2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/staticModifierAlreadySeen.ts(2,12): error TS1030: 'static' modifier already seen.
|
|
|
|
tests/cases/compiler/staticModifierAlreadySeen.ts(3,19): error TS1030: 'static' modifier already seen.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/staticModifierAlreadySeen.ts (2 errors) ====
|
|
|
|
class C {
|
|
|
|
static static foo = 1;
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1030: 'static' modifier already seen.
|
2014-07-13 01:04:16 +02:00
|
|
|
public static static bar() { }
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1030: 'static' modifier already seen.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|