TypeScript/tests/cases/compiler/staticGetter1.ts

7 lines
96 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
// once caused stack overflow
class C {
static get x() {
return this;
}
}