flow-js2-mode icon indicating copy to clipboard operation
flow-js2-mode copied to clipboard

dynamic object keys seem to be broken: `return {[fieldName]: item.value}` (error at `:`)

Open Fuco1 opened this issue 6 years ago • 2 comments

The error is in the advice on js2-parse-named-prop, it does not return the "value" node from the key: value pair in case we drop into the [foo] branch ((eq tt js2-LB))

Fuco1 avatar Nov 14 '17 10:11 Fuco1

Oops, I filed this under js2-mode: https://github.com/mooz/js2-mode/issues/484.

harto avatar Feb 23 '18 05:02 harto

Yea, still seems to be valid.

Fuco1 avatar Feb 23 '18 10:02 Fuco1