9 lines
291 B
Text
9 lines
291 B
Text
|
==== tests/cases/compiler/staticModifierAlreadySeen.ts (2 errors) ====
|
||
|
class C {
|
||
|
static static foo = 1;
|
||
|
~~~~~~
|
||
|
!!! 'static' modifier already seen.
|
||
|
public static static bar() { }
|
||
|
~~~~~~
|
||
|
!!! 'static' modifier already seen.
|
||
|
}
|