1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
=== tests/cases/compiler/emitThisInSuperMethodCall.ts ===
class User {
>User : Symbol(User, Decl(emitThisInSuperMethodCall.ts, 0, 0))
sayHello() {
>sayHello : Symbol(User.sayHello, Decl(emitThisInSuperMethodCall.ts, 0, 12))
}
}
class RegisteredUser extends User {
>RegisteredUser : Symbol(RegisteredUser, Decl(emitThisInSuperMethodCall.ts, 3, 1))
>User : Symbol(User, Decl(emitThisInSuperMethodCall.ts, 0, 0))
f() {
>f : Symbol(RegisteredUser.f, Decl(emitThisInSuperMethodCall.ts, 5, 35))
() => {
function inner() {
>inner : Symbol(inner, Decl(emitThisInSuperMethodCall.ts, 7, 15))
super.sayHello();
}
};
}
g() {
>g : Symbol(RegisteredUser.g, Decl(emitThisInSuperMethodCall.ts, 12, 5))
function inner() {
>inner : Symbol(inner, Decl(emitThisInSuperMethodCall.ts, 13, 9))
() => {
super.sayHello();
}
}
}
h() {
>h : Symbol(RegisteredUser.h, Decl(emitThisInSuperMethodCall.ts, 19, 5))
function inner() {
>inner : Symbol(inner, Decl(emitThisInSuperMethodCall.ts, 20, 9))
super.sayHello();
}
}
}
|