mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
26 lines
1001 B
Plaintext
26 lines
1001 B
Plaintext
//// [tests/cases/compiler/captureSuperPropertyAccessInSuperCall01.ts] ////
|
|
|
|
=== captureSuperPropertyAccessInSuperCall01.ts ===
|
|
class A {
|
|
>A : Symbol(A, Decl(captureSuperPropertyAccessInSuperCall01.ts, 0, 0))
|
|
|
|
constructor(f: () => string) {
|
|
>f : Symbol(f, Decl(captureSuperPropertyAccessInSuperCall01.ts, 1, 13))
|
|
}
|
|
public blah(): string { return ""; }
|
|
>blah : Symbol(A.blah, Decl(captureSuperPropertyAccessInSuperCall01.ts, 2, 2))
|
|
}
|
|
|
|
class B extends A {
|
|
>B : Symbol(B, Decl(captureSuperPropertyAccessInSuperCall01.ts, 4, 1))
|
|
>A : Symbol(A, Decl(captureSuperPropertyAccessInSuperCall01.ts, 0, 0))
|
|
|
|
constructor() {
|
|
super(() => { return super.blah(); })
|
|
>super : Symbol(A, Decl(captureSuperPropertyAccessInSuperCall01.ts, 0, 0))
|
|
>super.blah : Symbol(A.blah, Decl(captureSuperPropertyAccessInSuperCall01.ts, 2, 2))
|
|
>super : Symbol(A, Decl(captureSuperPropertyAccessInSuperCall01.ts, 0, 0))
|
|
>blah : Symbol(A.blah, Decl(captureSuperPropertyAccessInSuperCall01.ts, 2, 2))
|
|
}
|
|
}
|