48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
=== tests/cases/conformance/internalModules/importDeclarations/circularImportAlias.ts ===
|
|
// expected no error
|
|
|
|
module B {
|
|
>B : Symbol(a.b, Decl(circularImportAlias.ts, 0, 0))
|
|
|
|
export import a = A;
|
|
>a : Symbol(a, Decl(circularImportAlias.ts, 2, 10))
|
|
>A : Symbol(a, Decl(circularImportAlias.ts, 7, 1))
|
|
|
|
export class D extends a.C {
|
|
>D : Symbol(D, Decl(circularImportAlias.ts, 3, 24))
|
|
>a.C : Symbol(a.C, Decl(circularImportAlias.ts, 9, 10))
|
|
>a : Symbol(a, Decl(circularImportAlias.ts, 2, 10))
|
|
>C : Symbol(a.C, Decl(circularImportAlias.ts, 9, 10))
|
|
|
|
id: number;
|
|
>id : Symbol(id, Decl(circularImportAlias.ts, 4, 32))
|
|
}
|
|
}
|
|
|
|
module A {
|
|
>A : Symbol(b.a, Decl(circularImportAlias.ts, 7, 1))
|
|
|
|
export class C { name: string }
|
|
>C : Symbol(C, Decl(circularImportAlias.ts, 9, 10))
|
|
>name : Symbol(name, Decl(circularImportAlias.ts, 10, 20))
|
|
|
|
export import b = B;
|
|
>b : Symbol(b, Decl(circularImportAlias.ts, 10, 35))
|
|
>B : Symbol(b, Decl(circularImportAlias.ts, 0, 0))
|
|
}
|
|
|
|
var c: { name: string };
|
|
>c : Symbol(c, Decl(circularImportAlias.ts, 14, 3), Decl(circularImportAlias.ts, 15, 3))
|
|
>name : Symbol(name, Decl(circularImportAlias.ts, 14, 8))
|
|
|
|
var c = new B.a.C();
|
|
>c : Symbol(c, Decl(circularImportAlias.ts, 14, 3), Decl(circularImportAlias.ts, 15, 3))
|
|
>B.a.C : Symbol(A.C, Decl(circularImportAlias.ts, 9, 10))
|
|
>B.a : Symbol(B.a, Decl(circularImportAlias.ts, 2, 10))
|
|
>B : Symbol(B, Decl(circularImportAlias.ts, 0, 0))
|
|
>a : Symbol(B.a, Decl(circularImportAlias.ts, 2, 10))
|
|
>C : Symbol(A.C, Decl(circularImportAlias.ts, 9, 10))
|
|
|
|
|
|
|