mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
546 B
Plaintext
19 lines
546 B
Plaintext
//// [tests/cases/conformance/expressions/optionalChaining/callChain/thisMethodCall.ts] ////
|
|
|
|
=== thisMethodCall.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(thisMethodCall.ts, 0, 0))
|
|
|
|
method?() {}
|
|
>method : Symbol(C.method, Decl(thisMethodCall.ts, 0, 9))
|
|
|
|
other() {
|
|
>other : Symbol(C.other, Decl(thisMethodCall.ts, 1, 16))
|
|
|
|
this.method?.();
|
|
>this.method : Symbol(C.method, Decl(thisMethodCall.ts, 0, 9))
|
|
>this : Symbol(C, Decl(thisMethodCall.ts, 0, 0))
|
|
>method : Symbol(C.method, Decl(thisMethodCall.ts, 0, 9))
|
|
}
|
|
}
|