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

9 lines
125 B
TypeScript

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