1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
|
//// [collisionCodeGenModuleWithAccessorChildren.ts]
module M {
export var x = 3;
class c {
private y;
set Z(M) {
this.y = x;
}
}
}
module M {
class d {
private y;
set Z(p) {
var M = 10;
this.y = x;
}
}
}
module M { // Shouldnt be _M
class e {
private y;
set M(p) {
this.y = x;
}
}
}
module M {
class f {
get Z() {
var M = 10;
return x;
}
}
}
module M { // Shouldnt be _M
class e {
get M() {
return x;
}
}
}
//// [collisionCodeGenModuleWithAccessorChildren.js]
var M;
(function (M_1) {
M_1.x = 3;
var c = /** @class */ (function () {
function c() {
}
Object.defineProperty(c.prototype, "Z", {
set: function (M) {
this.y = M_1.x;
},
enumerable: true,
configurable: true
});
return c;
}());
})(M || (M = {}));
(function (M_2) {
var d = /** @class */ (function () {
function d() {
}
Object.defineProperty(d.prototype, "Z", {
set: function (p) {
var M = 10;
this.y = M_2.x;
},
enumerable: true,
configurable: true
});
return d;
}());
})(M || (M = {}));
(function (M) {
var e = /** @class */ (function () {
function e() {
}
Object.defineProperty(e.prototype, "M", {
set: function (p) {
this.y = M.x;
},
enumerable: true,
configurable: true
});
return e;
}());
})(M || (M = {}));
(function (M_3) {
var f = /** @class */ (function () {
function f() {
}
Object.defineProperty(f.prototype, "Z", {
get: function () {
var M = 10;
return M_3.x;
},
enumerable: true,
configurable: true
});
return f;
}());
})(M || (M = {}));
(function (M) {
var e = /** @class */ (function () {
function e() {
}
Object.defineProperty(e.prototype, "M", {
get: function () {
return M.x;
},
enumerable: true,
configurable: true
});
return e;
}());
})(M || (M = {}));
|