mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
//// [tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithSuperMethodCall01.ts] ////
|
|
|
|
=== emitClassDeclarationWithSuperMethodCall01.ts ===
|
|
class Parent {
|
|
>Parent : Symbol(Parent, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 0))
|
|
|
|
foo() {
|
|
>foo : Symbol(Parent.foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 14))
|
|
}
|
|
}
|
|
|
|
class Foo extends Parent {
|
|
>Foo : Symbol(Foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 3, 1))
|
|
>Parent : Symbol(Parent, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 0))
|
|
|
|
foo() {
|
|
>foo : Symbol(Foo.foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 5, 26))
|
|
|
|
var x = () => super.foo();
|
|
>x : Symbol(x, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 7, 11))
|
|
>super.foo : Symbol(Parent.foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 14))
|
|
>super : Symbol(Parent, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 0))
|
|
>foo : Symbol(Parent.foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 14))
|
|
}
|
|
}
|