Skip to content
New issue

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

fix parsing of expressions wrapped in parentheses (#534) #536

Merged
merged 1 commit into from
Apr 30, 2017
Merged

Conversation

Conduitry
Copy link
Member

Fixes #534. Acorn's docs do warn that the the ParenthesizedExpressions nodes created when the preserveParens option is enable are non-standard, but using this does not seem to have ill effects. Svelte is still able to walk the tree and rewrite the expressions appropriately according to the context.

@Rich-Harris Rich-Harris merged commit ca3fd8d into master Apr 30, 2017
@Rich-Harris Rich-Harris deleted the gh-534 branch April 30, 2017 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants