23 lines
934 B
Plaintext
23 lines
934 B
Plaintext
|
=== tests/cases/compiler/recursiveProperties.ts ===
|
||
|
class A {
|
||
|
>A : Symbol(A, Decl(recursiveProperties.ts, 0, 0))
|
||
|
|
||
|
get testProp() { return this.testProp; }
|
||
|
>testProp : Symbol(testProp, Decl(recursiveProperties.ts, 0, 9))
|
||
|
>this.testProp : Symbol(testProp, Decl(recursiveProperties.ts, 0, 9))
|
||
|
>this : Symbol(A, Decl(recursiveProperties.ts, 0, 0))
|
||
|
>testProp : Symbol(testProp, Decl(recursiveProperties.ts, 0, 9))
|
||
|
}
|
||
|
|
||
|
class B {
|
||
|
>B : Symbol(B, Decl(recursiveProperties.ts, 2, 1))
|
||
|
|
||
|
set testProp(value:string) { this.testProp = value; }
|
||
|
>testProp : Symbol(testProp, Decl(recursiveProperties.ts, 4, 9))
|
||
|
>value : Symbol(value, Decl(recursiveProperties.ts, 5, 17))
|
||
|
>this.testProp : Symbol(testProp, Decl(recursiveProperties.ts, 4, 9))
|
||
|
>this : Symbol(B, Decl(recursiveProperties.ts, 2, 1))
|
||
|
>testProp : Symbol(testProp, Decl(recursiveProperties.ts, 4, 9))
|
||
|
>value : Symbol(value, Decl(recursiveProperties.ts, 5, 17))
|
||
|
}
|