2014-07-13 01:04:16 +02:00
|
|
|
//// [declarationEmit_nameConflicts2.ts]
|
|
|
|
module X.Y.base {
|
|
|
|
export function f() { }
|
|
|
|
export class C { }
|
|
|
|
export module M {
|
|
|
|
export var v;
|
|
|
|
}
|
|
|
|
export enum E { }
|
|
|
|
}
|
|
|
|
|
|
|
|
module X.Y.base.Z {
|
|
|
|
export var f = X.Y.base.f; // Should be base.f
|
|
|
|
export var C = X.Y.base.C; // Should be base.C
|
|
|
|
export var M = X.Y.base.M; // Should be base.M
|
|
|
|
export var E = X.Y.base.E; // Should be base.E
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [declarationEmit_nameConflicts2.js]
|
|
|
|
var X;
|
|
|
|
(function (X) {
|
2014-09-07 02:40:19 +02:00
|
|
|
var Y;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (Y) {
|
2014-09-07 02:40:19 +02:00
|
|
|
var base;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (base) {
|
|
|
|
function f() {
|
|
|
|
}
|
|
|
|
base.f = f;
|
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
|
|
|
return C;
|
|
|
|
})();
|
|
|
|
base.C = C;
|
2014-09-07 02:40:19 +02:00
|
|
|
var M;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (M) {
|
|
|
|
M.v;
|
2014-09-07 02:40:19 +02:00
|
|
|
})(M = base.M || (base.M = {}));
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (E) {
|
|
|
|
})(base.E || (base.E = {}));
|
|
|
|
var E = base.E;
|
2014-09-07 02:40:19 +02:00
|
|
|
})(base = Y.base || (Y.base = {}));
|
|
|
|
})(Y = X.Y || (X.Y = {}));
|
2014-07-13 01:04:16 +02:00
|
|
|
})(X || (X = {}));
|
|
|
|
var X;
|
|
|
|
(function (X) {
|
2014-09-07 02:40:19 +02:00
|
|
|
var Y;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (Y) {
|
2014-09-07 02:40:19 +02:00
|
|
|
var base;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (base) {
|
2014-09-07 02:40:19 +02:00
|
|
|
var Z;
|
2014-07-13 01:04:16 +02:00
|
|
|
(function (Z) {
|
2014-08-15 22:18:54 +02:00
|
|
|
Z.f = X.Y.base.f; // Should be base.f
|
|
|
|
Z.C = X.Y.base.C; // Should be base.C
|
|
|
|
Z.M = X.Y.base.M; // Should be base.M
|
|
|
|
Z.E = X.Y.base.E; // Should be base.E
|
2014-09-07 02:40:19 +02:00
|
|
|
})(Z = base.Z || (base.Z = {}));
|
|
|
|
})(base = Y.base || (Y.base = {}));
|
|
|
|
})(Y = X.Y || (X.Y = {}));
|
2014-07-13 01:04:16 +02:00
|
|
|
})(X || (X = {}));
|
|
|
|
|
|
|
|
|
|
|
|
//// [declarationEmit_nameConflicts2.d.ts]
|
2014-07-11 23:44:31 +02:00
|
|
|
declare module X.Y.base {
|
2014-07-12 01:36:06 +02:00
|
|
|
function f(): void;
|
2014-07-11 23:44:31 +02:00
|
|
|
class C {
|
|
|
|
}
|
|
|
|
module M {
|
2014-07-12 01:36:06 +02:00
|
|
|
var v: any;
|
2014-07-11 23:44:31 +02:00
|
|
|
}
|
|
|
|
enum E {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
declare module X.Y.base.Z {
|
2014-08-09 01:15:09 +02:00
|
|
|
var f: typeof base.f;
|
2014-07-16 01:03:25 +02:00
|
|
|
var C: typeof base.C;
|
|
|
|
var M: typeof base.M;
|
|
|
|
var E: typeof base.E;
|
2014-07-11 23:44:31 +02:00
|
|
|
}
|