-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Can not compile complex {#if} #3447
Labels
Comments
Yep, thanks. This worked in 3.9.0. Presumably caused by #3438. |
Rich-Harris
added a commit
that referenced
this issue
Aug 30, 2019
Rich-Harris
added a commit
that referenced
this issue
Sep 4, 2019
Don't generate code for a non-updating if block
Fixed in 3.9.2! thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While using a complex {#if} statement, svelte is compiling to invalid javascript.
To Reproduce
Look at the code produced in this REPL:
https://svelte.dev/repl/8a129823894a48cb944245fb7bc1d6fe?version=3.9.1
you can see the error in the JS-output in line 71.
Expected behavior
Code compiles.
Severity
It was working in old versions, so now I have to downgrade.
The text was updated successfully, but these errors were encountered: