9 lines
291 B
Plaintext
9 lines
291 B
Plaintext
|
==== 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.
|
||
|
}
|