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

6 lines
83 B
TypeScript

//@target: ES6
enum E {
// no ASI, comma expected
[e] = id++
[e2] = 1
}