mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
//// [tests/cases/compiler/emitThisInSuperMethodCall.ts] ////
|
|
|
|
=== 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();
|
|
}
|
|
}
|
|
}
|
|
|