24 lines
975 B
Text
24 lines
975 B
Text
=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithSuperMethodCall01.ts ===
|
|
|
|
class Parent {
|
|
>Parent : Symbol(Parent, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 0))
|
|
|
|
foo() {
|
|
>foo : Symbol(foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 1, 14))
|
|
}
|
|
}
|
|
|
|
class Foo extends Parent {
|
|
>Foo : Symbol(Foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 4, 1))
|
|
>Parent : Symbol(Parent, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 0))
|
|
|
|
foo() {
|
|
>foo : Symbol(foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 6, 26))
|
|
|
|
var x = () => super.foo();
|
|
>x : Symbol(x, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 8, 11))
|
|
>super.foo : Symbol(Parent.foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 1, 14))
|
|
>super : Symbol(Parent, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 0))
|
|
>foo : Symbol(Parent.foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 1, 14))
|
|
}
|
|
}
|