mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
51 lines
2.3 KiB
Plaintext
51 lines
2.3 KiB
Plaintext
//// [tests/cases/compiler/ambientClassDeclarationWithExtends.ts] ////
|
|
|
|
=== ambientClassDeclarationExtends_singleFile.ts ===
|
|
declare class A { }
|
|
>A : Symbol(A, Decl(ambientClassDeclarationExtends_singleFile.ts, 0, 0))
|
|
|
|
declare class B extends A { }
|
|
>B : Symbol(B, Decl(ambientClassDeclarationExtends_singleFile.ts, 0, 19))
|
|
>A : Symbol(A, Decl(ambientClassDeclarationExtends_singleFile.ts, 0, 0))
|
|
|
|
declare class C {
|
|
>C : Symbol(C, Decl(ambientClassDeclarationExtends_singleFile.ts, 1, 29))
|
|
|
|
public foo;
|
|
>foo : Symbol(C.foo, Decl(ambientClassDeclarationExtends_singleFile.ts, 3, 17))
|
|
}
|
|
namespace D { var x; }
|
|
>D : Symbol(D, Decl(ambientClassDeclarationExtends_singleFile.ts, 5, 1), Decl(ambientClassDeclarationExtends_singleFile.ts, 6, 22))
|
|
>x : Symbol(x, Decl(ambientClassDeclarationExtends_singleFile.ts, 6, 17))
|
|
|
|
declare class D extends C { }
|
|
>D : Symbol(D, Decl(ambientClassDeclarationExtends_singleFile.ts, 5, 1), Decl(ambientClassDeclarationExtends_singleFile.ts, 6, 22))
|
|
>C : Symbol(C, Decl(ambientClassDeclarationExtends_singleFile.ts, 1, 29))
|
|
|
|
var d: C = new D();
|
|
>d : Symbol(d, Decl(ambientClassDeclarationExtends_singleFile.ts, 9, 3))
|
|
>C : Symbol(C, Decl(ambientClassDeclarationExtends_singleFile.ts, 1, 29))
|
|
>D : Symbol(D, Decl(ambientClassDeclarationExtends_singleFile.ts, 5, 1), Decl(ambientClassDeclarationExtends_singleFile.ts, 6, 22))
|
|
|
|
=== ambientClassDeclarationExtends_file1.ts ===
|
|
declare class E {
|
|
>E : Symbol(E, Decl(ambientClassDeclarationExtends_file1.ts, 0, 0))
|
|
|
|
public bar;
|
|
>bar : Symbol(E.bar, Decl(ambientClassDeclarationExtends_file1.ts, 0, 17))
|
|
}
|
|
namespace F { var y; }
|
|
>F : Symbol(F, Decl(ambientClassDeclarationExtends_file1.ts, 2, 1), Decl(ambientClassDeclarationExtends_file2.ts, 0, 0))
|
|
>y : Symbol(y, Decl(ambientClassDeclarationExtends_file1.ts, 3, 17))
|
|
|
|
=== ambientClassDeclarationExtends_file2.ts ===
|
|
declare class F extends E { }
|
|
>F : Symbol(F, Decl(ambientClassDeclarationExtends_file1.ts, 2, 1), Decl(ambientClassDeclarationExtends_file2.ts, 0, 0))
|
|
>E : Symbol(E, Decl(ambientClassDeclarationExtends_file1.ts, 0, 0))
|
|
|
|
var f: E = new F();
|
|
>f : Symbol(f, Decl(ambientClassDeclarationExtends_file2.ts, 1, 3))
|
|
>E : Symbol(E, Decl(ambientClassDeclarationExtends_file1.ts, 0, 0))
|
|
>F : Symbol(F, Decl(ambientClassDeclarationExtends_file1.ts, 2, 1), Decl(ambientClassDeclarationExtends_file2.ts, 0, 0))
|
|
|