TypeScript/tests/baselines/reference/staticGetter1.errors.txt
2014-09-12 13:35:07 -07:00

13 lines
427 B
Plaintext

tests/cases/compiler/staticGetter1.ts(3,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
==== tests/cases/compiler/staticGetter1.ts (1 errors) ====
// once caused stack overflow
class C {
static get x() {
~
!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
return this;
}
}