10 lines
No EOL
280 B
Text
10 lines
No EOL
280 B
Text
==== tests/cases/compiler/staticGetter1.ts (1 errors) ====
|
|
// once caused stack overflow
|
|
class C {
|
|
static get x() {
|
|
~
|
|
!!! Accessors are only available when targeting ECMAScript 5 and higher.
|
|
return this;
|
|
}
|
|
}
|
|
|