swc/crates/swc_ecma_parser/tests/tsc/superSymbolIndexedAccess3.ts

14 lines
185 B
TypeScript

//@target: ES6
var symbol = Symbol.for('myThing');
class Foo {
[symbol]() {
return 0;
}
}
class Bar extends Foo {
[symbol]() {
return super[Bar]();
}
}