90 lines
4.3 KiB
Text
90 lines
4.3 KiB
Text
=== tests/cases/compiler/mixingFunctionAndAmbientModule1.ts ===
|
|
module A {
|
|
>A : Symbol(A, Decl(mixingFunctionAndAmbientModule1.ts, 0, 0))
|
|
|
|
declare module My {
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 0, 10), Decl(mixingFunctionAndAmbientModule1.ts, 3, 5))
|
|
|
|
export var x: number;
|
|
>x : Symbol(x, Decl(mixingFunctionAndAmbientModule1.ts, 2, 18))
|
|
}
|
|
function My(s: string) { }
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 0, 10), Decl(mixingFunctionAndAmbientModule1.ts, 3, 5))
|
|
>s : Symbol(s, Decl(mixingFunctionAndAmbientModule1.ts, 4, 16))
|
|
}
|
|
|
|
module B {
|
|
>B : Symbol(B, Decl(mixingFunctionAndAmbientModule1.ts, 5, 1))
|
|
|
|
declare module My {
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 7, 10), Decl(mixingFunctionAndAmbientModule1.ts, 10, 5), Decl(mixingFunctionAndAmbientModule1.ts, 11, 28))
|
|
|
|
export var x: number;
|
|
>x : Symbol(x, Decl(mixingFunctionAndAmbientModule1.ts, 9, 18))
|
|
}
|
|
function My(s: boolean);
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 7, 10), Decl(mixingFunctionAndAmbientModule1.ts, 10, 5), Decl(mixingFunctionAndAmbientModule1.ts, 11, 28))
|
|
>s : Symbol(s, Decl(mixingFunctionAndAmbientModule1.ts, 11, 16))
|
|
|
|
function My(s: any) { }
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 7, 10), Decl(mixingFunctionAndAmbientModule1.ts, 10, 5), Decl(mixingFunctionAndAmbientModule1.ts, 11, 28))
|
|
>s : Symbol(s, Decl(mixingFunctionAndAmbientModule1.ts, 12, 16))
|
|
}
|
|
|
|
module C {
|
|
>C : Symbol(C, Decl(mixingFunctionAndAmbientModule1.ts, 13, 1))
|
|
|
|
declare module My {
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 15, 10), Decl(mixingFunctionAndAmbientModule1.ts, 18, 5))
|
|
|
|
export var x: number;
|
|
>x : Symbol(x, Decl(mixingFunctionAndAmbientModule1.ts, 17, 18))
|
|
}
|
|
declare function My(s: boolean);
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 15, 10), Decl(mixingFunctionAndAmbientModule1.ts, 18, 5))
|
|
>s : Symbol(s, Decl(mixingFunctionAndAmbientModule1.ts, 19, 24))
|
|
}
|
|
|
|
module D {
|
|
>D : Symbol(D, Decl(mixingFunctionAndAmbientModule1.ts, 20, 1))
|
|
|
|
declare module My {
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 22, 10), Decl(mixingFunctionAndAmbientModule1.ts, 25, 5), Decl(mixingFunctionAndAmbientModule1.ts, 26, 36))
|
|
|
|
export var x: number;
|
|
>x : Symbol(x, Decl(mixingFunctionAndAmbientModule1.ts, 24, 18))
|
|
}
|
|
declare function My(s: boolean);
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 22, 10), Decl(mixingFunctionAndAmbientModule1.ts, 25, 5), Decl(mixingFunctionAndAmbientModule1.ts, 26, 36))
|
|
>s : Symbol(s, Decl(mixingFunctionAndAmbientModule1.ts, 26, 24))
|
|
|
|
declare function My(s: any);
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 22, 10), Decl(mixingFunctionAndAmbientModule1.ts, 25, 5), Decl(mixingFunctionAndAmbientModule1.ts, 26, 36))
|
|
>s : Symbol(s, Decl(mixingFunctionAndAmbientModule1.ts, 27, 24))
|
|
}
|
|
|
|
|
|
module E {
|
|
>E : Symbol(E, Decl(mixingFunctionAndAmbientModule1.ts, 28, 1))
|
|
|
|
declare module My {
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 31, 10), Decl(mixingFunctionAndAmbientModule1.ts, 34, 5), Decl(mixingFunctionAndAmbientModule1.ts, 35, 36), Decl(mixingFunctionAndAmbientModule1.ts, 38, 5))
|
|
|
|
export var x: number;
|
|
>x : Symbol(x, Decl(mixingFunctionAndAmbientModule1.ts, 33, 18))
|
|
}
|
|
declare function My(s: boolean);
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 31, 10), Decl(mixingFunctionAndAmbientModule1.ts, 34, 5), Decl(mixingFunctionAndAmbientModule1.ts, 35, 36), Decl(mixingFunctionAndAmbientModule1.ts, 38, 5))
|
|
>s : Symbol(s, Decl(mixingFunctionAndAmbientModule1.ts, 35, 24))
|
|
|
|
declare module My {
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 31, 10), Decl(mixingFunctionAndAmbientModule1.ts, 34, 5), Decl(mixingFunctionAndAmbientModule1.ts, 35, 36), Decl(mixingFunctionAndAmbientModule1.ts, 38, 5))
|
|
|
|
export var y: number;
|
|
>y : Symbol(y, Decl(mixingFunctionAndAmbientModule1.ts, 37, 18))
|
|
}
|
|
declare function My(s: any);
|
|
>My : Symbol(My, Decl(mixingFunctionAndAmbientModule1.ts, 31, 10), Decl(mixingFunctionAndAmbientModule1.ts, 34, 5), Decl(mixingFunctionAndAmbientModule1.ts, 35, 36), Decl(mixingFunctionAndAmbientModule1.ts, 38, 5))
|
|
>s : Symbol(s, Decl(mixingFunctionAndAmbientModule1.ts, 39, 24))
|
|
}
|
|
|