36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
=== tests/cases/compiler/superAccessInFatArrow1.ts ===
|
|
module test {
|
|
>test : Symbol(test, Decl(superAccessInFatArrow1.ts, 0, 0))
|
|
|
|
export class A {
|
|
>A : Symbol(A, Decl(superAccessInFatArrow1.ts, 0, 13))
|
|
|
|
foo() {
|
|
>foo : Symbol(foo, Decl(superAccessInFatArrow1.ts, 1, 20))
|
|
}
|
|
}
|
|
export class B extends A {
|
|
>B : Symbol(B, Decl(superAccessInFatArrow1.ts, 4, 5))
|
|
>A : Symbol(A, Decl(superAccessInFatArrow1.ts, 0, 13))
|
|
|
|
bar(callback: () => void ) {
|
|
>bar : Symbol(bar, Decl(superAccessInFatArrow1.ts, 5, 30))
|
|
>callback : Symbol(callback, Decl(superAccessInFatArrow1.ts, 6, 12))
|
|
}
|
|
runme() {
|
|
>runme : Symbol(runme, Decl(superAccessInFatArrow1.ts, 7, 9))
|
|
|
|
this.bar(() => {
|
|
>this.bar : Symbol(bar, Decl(superAccessInFatArrow1.ts, 5, 30))
|
|
>this : Symbol(B, Decl(superAccessInFatArrow1.ts, 4, 5))
|
|
>bar : Symbol(bar, Decl(superAccessInFatArrow1.ts, 5, 30))
|
|
|
|
super.foo();
|
|
>super.foo : Symbol(A.foo, Decl(superAccessInFatArrow1.ts, 1, 20))
|
|
>super : Symbol(A, Decl(superAccessInFatArrow1.ts, 0, 13))
|
|
>foo : Symbol(A.foo, Decl(superAccessInFatArrow1.ts, 1, 20))
|
|
|
|
});
|
|
}
|
|
}
|
|
}
|