TypeScript/tests/baselines/reference/staticGetter2.symbols
2015-04-15 16:44:20 -07:00

17 lines
407 B
Plaintext

=== tests/cases/compiler/staticGetter2.ts ===
// once caused stack overflow
class C {
>C : Symbol(C, Decl(staticGetter2.ts, 0, 0))
static x() {
>x : Symbol(C.x, Decl(staticGetter2.ts, 1, 9))
var r = this;
>r : Symbol(r, Decl(staticGetter2.ts, 3, 11))
>this : Symbol(C, Decl(staticGetter2.ts, 0, 0))
return this;
>this : Symbol(C, Decl(staticGetter2.ts, 0, 0))
}
}