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

11 lines
167 B
TypeScript

// @target: es6
class Base {
}
class C extends Base {
constructor() {
super();
var obj = {
[(super(), "prop")]() { }
};
}
}