2015-02-07 05:49:58 +01:00
|
|
|
//// [symbolDeclarationEmit4.ts]
|
|
|
|
class C {
|
|
|
|
get [Symbol.isRegExp]() { return ""; }
|
|
|
|
set [Symbol.isRegExp](x) { }
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [symbolDeclarationEmit4.js]
|
2015-03-16 05:40:15 +01:00
|
|
|
class C {
|
2015-03-26 21:46:35 +01:00
|
|
|
get [Symbol.isRegExp]() { return ""; }
|
|
|
|
set [Symbol.isRegExp](x) { }
|
2015-03-16 05:40:15 +01:00
|
|
|
}
|
2015-02-07 05:49:58 +01:00
|
|
|
|
|
|
|
|
|
|
|
//// [symbolDeclarationEmit4.d.ts]
|
|
|
|
declare class C {
|
|
|
|
[Symbol.isRegExp]: string;
|
|
|
|
}
|