2015-02-03 00:15:54 +01:00
|
|
|
//// [functionAndPropertyNameConflict.ts]
|
|
|
|
class C65 {
|
|
|
|
public aaaaa() { }
|
|
|
|
public get aaaaa() {
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [functionAndPropertyNameConflict.js]
|
|
|
|
var C65 = (function () {
|
|
|
|
function C65() {
|
|
|
|
}
|
2015-02-07 03:45:09 +01:00
|
|
|
C65.prototype.aaaaa = function () { };
|
2015-02-03 00:15:54 +01:00
|
|
|
Object.defineProperty(C65.prototype, "aaaaa", {
|
|
|
|
get: function () {
|
|
|
|
return 1;
|
|
|
|
},
|
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
return C65;
|
|
|
|
})();
|