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

14 lines
190 B
TypeScript

// @target: es6
class Base {
bar() {
return 0;
}
}
class C extends Base {
foo() {
var obj = {
[super.bar()]() { }
};
return 0;
}
}