2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/staticClassProps.ts(4,9): error TS1129: Statement expected.
|
|
|
|
tests/cases/compiler/staticClassProps.ts(6,1): error TS1128: Declaration or statement expected.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/staticClassProps.ts (2 errors) ====
|
|
|
|
class C
|
|
|
|
{
|
|
|
|
public foo() {
|
|
|
|
static z = 1;
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1129: Statement expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1128: Declaration or statement expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
|