TypeScript/tests/baselines/reference/emitClassDeclarationWithSuperMethodCall01.types

27 lines
1.1 KiB
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/classDeclaration/emitClassDeclarationWithSuperMethodCall01.ts ===
class Parent {
2015-04-13 23:01:57 +02:00
>Parent : Parent, Symbol(Parent, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 0))
foo() {
2015-04-13 23:01:57 +02:00
>foo : () => void, Symbol(foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 1, 14))
}
}
class Foo extends Parent {
2015-04-13 23:01:57 +02:00
>Foo : Foo, Symbol(Foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 4, 1))
>Parent : Parent, Symbol(Parent, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 0))
foo() {
2015-04-13 23:01:57 +02:00
>foo : () => void, Symbol(foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 6, 26))
var x = () => super.foo();
2015-04-13 23:01:57 +02:00
>x : () => void, Symbol(x, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 8, 11))
>() => super.foo() : () => void
>super.foo() : void
2015-04-13 23:01:57 +02:00
>super.foo : () => void, Symbol(Parent.foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 1, 14))
>super : Parent, Symbol(Parent, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 0))
>foo : () => void, Symbol(Parent.foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 1, 14))
}
}