-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Bad code generated for lazy vals with try #1462
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
Labels
Comments
Still an issue. Fails with:
|
smarter
added a commit
to dotty-staging/dotty
that referenced
this issue
Jan 26, 2019
Otherwise we might miss try which end up on a non-empty expression stack due to a late transform such as LazyVals.
smarter
added a commit
to dotty-staging/dotty
that referenced
this issue
Jan 26, 2019
Otherwise we might miss try expressions which end up on a non-empty expression stack due to a late transform such as LazyVals.
smarter
added a commit
that referenced
this issue
Jan 28, 2019
Fix #1462: Move LiftTry as late as possible
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See tests/run/pending/t2333.scala.
Running this gives:
Exception in thread "main" java.lang.VerifyError: Inconsistent stackmap frames at branch target 36
The text was updated successfully, but these errors were encountered: