We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Choose one: is this a bug report or feature request? Feature request
@GeoffreyBooth I came across an unsupported export syntax that appears to be standard
export
export {foo, bar} = item
Should transpile to export var {foo, bar} = item
export var {foo, bar} = item
Doesn't compile
Guessing it won't be bad to add this as a supported grammar rule
Not blocking anything, just came across it while working on AST stuff
The text was updated successfully, but these errors were encountered:
Good catch. I guess this can be the workaround for now:
{foo, bar} = item export {foo, bar}
Sorry, something went wrong.
Another example of this:
export [signal, setSignal] = createSignal()
should ideally compile to
export const [signal, setSignal] = createSignal()
Same workaround works, of course:
[signal, setSignal] = createSignal() export {signal, SetSignal}
I'll probably look into fixing this, after I finally get to revising #5398.
export {a,b,c} = d
No branches or pull requests
Choose one: is this a bug report or feature request?
Feature request
@GeoffreyBooth I came across an unsupported
export
syntax that appears to be standardInput Code
Expected Behavior
Should transpile to
export var {foo, bar} = item
Current Behavior
Doesn't compile
Possible Solution
Guessing it won't be bad to add this as a supported grammar rule
Context
Not blocking anything, just came across it while working on AST stuff
Environment
The text was updated successfully, but these errors were encountered: