-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Another of
parse error since 1.5.1
#177
Comments
of
parse error since 1.5.1
Well isolated! I can imagine it must have been a hard one to find. Fix in #178 will post the release out now. |
👍 Wow, nice work! Really saving my butt here! I was banging my head against trying to work around this one, forcing v1.5.0 simply hit the other issue, so I was down to trying to see if I could inject a plugin that would replace |
Argh. Of course, we're going through |
To close the loop: vitejs/vite#17555 |
Similar, but not the same issue as #173
Minimal source code:
Error stack:
Requires:
of
/
(of / 2)
is fine, but switchingif
towhile
is not)So probably the context/backtracking getting confused by the not-quite keyword.
Reproduces in
1.5.1
to1.5.3
, but not in1.5.0
or1.4.2
We had the poor luck to have this be spit out into our vite output chunks, which made this very confusing to debug!
The text was updated successfully, but these errors were encountered: