2015-02-03 02:36:45 +01:00
|
|
|
//// [computedPropertyNamesDeclarationEmit2_ES6.ts]
|
2015-01-21 03:29:04 +01:00
|
|
|
class C {
|
|
|
|
static ["" + ""]() { }
|
|
|
|
static get ["" + ""]() { return 0; }
|
|
|
|
static set ["" + ""](x) { }
|
|
|
|
}
|
|
|
|
|
2015-02-03 02:36:45 +01:00
|
|
|
//// [computedPropertyNamesDeclarationEmit2_ES6.js]
|
2015-01-21 03:29:04 +01:00
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
2015-02-07 03:45:09 +01:00
|
|
|
C["" + ""] = function () { };
|
2015-01-21 03:29:04 +01:00
|
|
|
Object.defineProperty(C, "" + "", {
|
2015-02-21 23:43:45 +01:00
|
|
|
get: function () { return 0; },
|
2015-01-21 03:29:04 +01:00
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
Object.defineProperty(C, "" + "", {
|
2015-02-07 03:45:09 +01:00
|
|
|
set: function (x) { },
|
2015-01-21 03:29:04 +01:00
|
|
|
enumerable: true,
|
|
|
|
configurable: true
|
|
|
|
});
|
|
|
|
return C;
|
|
|
|
})();
|
|
|
|
|
|
|
|
|
2015-02-03 02:36:45 +01:00
|
|
|
//// [computedPropertyNamesDeclarationEmit2_ES6.d.ts]
|
2015-01-21 03:29:04 +01:00
|
|
|
declare class C {
|
|
|
|
}
|