You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this was introduced when migrating Shift conversions to JS or existed earlier, but, either way, currently:
let{x: y=1}={};
fails to parse/encode with
Could not parse source: JSONError(Error("unknown variant `BindingWithDefault`, expected one of `BindingWithInitializer`, `ObjectBinding`, `BindingIdentifier`, `ArrayBinding`", line: 1, column: 325))
because corresponding Shift node is called BindingWithDefault, but BinaryAST node is called BindingWithInitializer.
Either from-shift.js should be adjusted to convert this node type, or BinaryAST node should be renamed.
The text was updated successfully, but these errors were encountered:
Not sure if this was introduced when migrating Shift conversions to JS or existed earlier, but, either way, currently:
fails to parse/encode with
because corresponding Shift node is called
BindingWithDefault
, but BinaryAST node is calledBindingWithInitializer
.Either
from-shift.js
should be adjusted to convert this node type, or BinaryAST node should be renamed.The text was updated successfully, but these errors were encountered: