2015-02-03 02:19:27 +01:00
|
|
|
//// [symbolProperty31.ts]
|
|
|
|
class C1 {
|
|
|
|
[Symbol.toStringTag]() {
|
|
|
|
return { x: "" };
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class C2 extends C1 {
|
2015-02-04 00:52:06 +01:00
|
|
|
[s: symbol]: () => { x: string };
|
2015-02-03 02:19:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
//// [symbolProperty31.js]
|
2015-03-16 05:33:39 +01:00
|
|
|
class C1 {
|
|
|
|
[Symbol.toStringTag]() {
|
2015-03-09 02:23:23 +01:00
|
|
|
return {
|
|
|
|
x: ""
|
|
|
|
};
|
2015-02-03 02:19:27 +01:00
|
|
|
}
|
2015-03-16 05:33:39 +01:00
|
|
|
}
|
|
|
|
class C2 extends C1 {
|
|
|
|
}
|