28 lines
316 B
Text
28 lines
316 B
Text
=== tests/cases/compiler/superInCatchBlock1.ts ===
|
|
class A {
|
|
>A : A
|
|
|
|
m(): void { }
|
|
>m : () => void
|
|
}
|
|
class B extends A {
|
|
>B : B
|
|
>A : A
|
|
|
|
m() {
|
|
>m : () => void
|
|
|
|
try {
|
|
}
|
|
catch (e) {
|
|
>e : any
|
|
|
|
super.m();
|
|
>super.m() : void
|
|
>super.m : () => void
|
|
>super : A
|
|
>m : () => void
|
|
}
|
|
}
|
|
}
|
|
|