1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
=== tests/cases/compiler/classExtendsInterfaceInModule.ts ===
module M {
>M : Symbol(M, Decl(classExtendsInterfaceInModule.ts, 0, 0))
export interface I1 {}
>I1 : Symbol(I1, Decl(classExtendsInterfaceInModule.ts, 0, 10))
export interface I2<T> {}
>I2 : Symbol(I2, Decl(classExtendsInterfaceInModule.ts, 1, 24))
>T : Symbol(T, Decl(classExtendsInterfaceInModule.ts, 2, 22))
}
class C1 extends M.I1 {}
>C1 : Symbol(C1, Decl(classExtendsInterfaceInModule.ts, 3, 1))
>M.I1 : Symbol(M.I1, Decl(classExtendsInterfaceInModule.ts, 0, 10))
>M : Symbol(M, Decl(classExtendsInterfaceInModule.ts, 0, 0))
>I1 : Symbol(M.I1, Decl(classExtendsInterfaceInModule.ts, 0, 10))
class C2<T> extends M.I2<T> {}
>C2 : Symbol(C2, Decl(classExtendsInterfaceInModule.ts, 4, 24))
>T : Symbol(T, Decl(classExtendsInterfaceInModule.ts, 5, 9))
>M.I2 : Symbol(M.I2, Decl(classExtendsInterfaceInModule.ts, 1, 24))
>M : Symbol(M, Decl(classExtendsInterfaceInModule.ts, 0, 0))
>I2 : Symbol(M.I2, Decl(classExtendsInterfaceInModule.ts, 1, 24))
>T : Symbol(T, Decl(classExtendsInterfaceInModule.ts, 5, 9))
module Mod {
>Mod : Symbol(Mod, Decl(classExtendsInterfaceInModule.ts, 5, 30))
export namespace Nested {
>Nested : Symbol(Nested, Decl(classExtendsInterfaceInModule.ts, 7, 12))
export interface I {}
>I : Symbol(I, Decl(classExtendsInterfaceInModule.ts, 8, 26))
}
}
class D extends Mod.Nested.I {}
>D : Symbol(D, Decl(classExtendsInterfaceInModule.ts, 11, 1))
>Mod.Nested.I : Symbol(Mod.Nested.I, Decl(classExtendsInterfaceInModule.ts, 8, 26))
>Mod.Nested : Symbol(Mod.Nested, Decl(classExtendsInterfaceInModule.ts, 7, 12))
>Mod : Symbol(Mod, Decl(classExtendsInterfaceInModule.ts, 5, 30))
>Nested : Symbol(Mod.Nested, Decl(classExtendsInterfaceInModule.ts, 7, 12))
>I : Symbol(Mod.Nested.I, Decl(classExtendsInterfaceInModule.ts, 8, 26))
|