2015-02-03 02:36:45 +01:00
|
|
|
//// [computedPropertyNamesDeclarationEmit1_ES6.ts]
|
2015-01-21 03:29:04 +01:00
|
|
|
class C {
|
|
|
|
["" + ""]() { }
|
|
|
|
get ["" + ""]() { return 0; }
|
|
|
|
set ["" + ""](x) { }
|
|
|
|
}
|
|
|
|
|
2015-02-03 02:36:45 +01:00
|
|
|
//// [computedPropertyNamesDeclarationEmit1_ES6.js]
|
2015-03-16 00:29:41 +01:00
|
|
|
class C {
|
2015-03-26 21:46:35 +01:00
|
|
|
["" + ""]() { }
|
|
|
|
get ["" + ""]() { return 0; }
|
|
|
|
set ["" + ""](x) { }
|
2015-03-16 00:29:41 +01:00
|
|
|
}
|
2015-01-21 03:29:04 +01:00
|
|
|
|
|
|
|
|
2015-02-03 02:36:45 +01:00
|
|
|
//// [computedPropertyNamesDeclarationEmit1_ES6.d.ts]
|
2015-01-21 03:29:04 +01:00
|
|
|
declare class C {
|
|
|
|
}
|