2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/superInCatchBlock1.ts ===
|
|
|
|
class A {
|
2015-04-13 23:01:57 +02:00
|
|
|
>A : A, Symbol(A, Decl(superInCatchBlock1.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
m(): void { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>m : () => void, Symbol(m, Decl(superInCatchBlock1.ts, 0, 9))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
class B extends A {
|
2015-04-13 23:01:57 +02:00
|
|
|
>B : B, Symbol(B, Decl(superInCatchBlock1.ts, 2, 1))
|
|
|
|
>A : A, Symbol(A, Decl(superInCatchBlock1.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
m() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>m : () => void, Symbol(m, Decl(superInCatchBlock1.ts, 3, 19))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
try {
|
|
|
|
}
|
|
|
|
catch (e) {
|
2015-04-13 23:01:57 +02:00
|
|
|
>e : any, Symbol(e, Decl(superInCatchBlock1.ts, 7, 9))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
super.m();
|
|
|
|
>super.m() : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>super.m : () => void, Symbol(A.m, Decl(superInCatchBlock1.ts, 0, 9))
|
|
|
|
>super : A, Symbol(A, Decl(superInCatchBlock1.ts, 0, 0))
|
|
|
|
>m : () => void, Symbol(A.m, Decl(superInCatchBlock1.ts, 0, 9))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|