TypeScript/tests/baselines/reference/staticGetter2.types

17 lines
248 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/staticGetter2.ts ===
// once caused stack overflow
class C {
>C : C
static x() {
>x : () => typeof C
var r = this;
>r : typeof C
>this : typeof C
return this;
>this : typeof C
}
}