13 lines
254 B
Text
13 lines
254 B
Text
|
==== tests/cases/compiler/staticClassProps.ts (2 errors) ====
|
||
|
class C
|
||
|
{
|
||
|
public foo() {
|
||
|
static z = 1;
|
||
|
~~~~~~
|
||
|
!!! Statement expected.
|
||
|
}
|
||
|
}
|
||
|
~
|
||
|
!!! Declaration or statement expected.
|
||
|
|
||
|
|