2014-07-13 01:04:16 +02:00
|
|
|
//// [collisionCodeGenModuleWithMethodChildren.ts]
|
|
|
|
module M {
|
|
|
|
export var x = 3;
|
|
|
|
class c {
|
|
|
|
fn(M, p = x) { }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module M {
|
|
|
|
class d {
|
|
|
|
fn2() {
|
|
|
|
var M;
|
|
|
|
var p = x;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module M {
|
|
|
|
class e {
|
|
|
|
fn3() {
|
|
|
|
function M() {
|
|
|
|
var p = x;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module M { // Shouldnt bn _M
|
|
|
|
class f {
|
|
|
|
M() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [collisionCodeGenModuleWithMethodChildren.js]
|
|
|
|
var M;
|
2014-07-19 02:04:06 +02:00
|
|
|
(function (_M) {
|
|
|
|
_M.x = 3;
|
2014-07-13 01:04:16 +02:00
|
|
|
var c = (function () {
|
|
|
|
function c() {
|
|
|
|
}
|
2015-02-23 21:31:40 +01:00
|
|
|
c.prototype.fn = function (M, p) {
|
|
|
|
if (p === void 0) { p = _M.x; }
|
|
|
|
};
|
2014-07-13 01:04:16 +02:00
|
|
|
return c;
|
|
|
|
})();
|
|
|
|
})(M || (M = {}));
|
|
|
|
var M;
|
2015-02-11 00:03:28 +01:00
|
|
|
(function (_M_1) {
|
2014-07-13 01:04:16 +02:00
|
|
|
var d = (function () {
|
|
|
|
function d() {
|
|
|
|
}
|
|
|
|
d.prototype.fn2 = function () {
|
|
|
|
var M;
|
2015-02-11 00:03:28 +01:00
|
|
|
var p = _M_1.x;
|
2014-07-13 01:04:16 +02:00
|
|
|
};
|
|
|
|
return d;
|
|
|
|
})();
|
|
|
|
})(M || (M = {}));
|
|
|
|
var M;
|
2015-02-11 00:03:28 +01:00
|
|
|
(function (_M_2) {
|
2014-07-13 01:04:16 +02:00
|
|
|
var e = (function () {
|
|
|
|
function e() {
|
|
|
|
}
|
|
|
|
e.prototype.fn3 = function () {
|
|
|
|
function M() {
|
2015-02-11 00:03:28 +01:00
|
|
|
var p = _M_2.x;
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
return e;
|
|
|
|
})();
|
|
|
|
})(M || (M = {}));
|
|
|
|
var M;
|
|
|
|
(function (M) {
|
|
|
|
var f = (function () {
|
|
|
|
function f() {
|
|
|
|
}
|
|
|
|
f.prototype.M = function () {
|
|
|
|
};
|
|
|
|
return f;
|
|
|
|
})();
|
|
|
|
})(M || (M = {}));
|