Skip to content

Fix #9267: Avoid accessing inexistent next phase #9269

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

Merged
merged 2 commits into from
Jul 1, 2020

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Jul 1, 2020

  • Only compute elimErasedCtx when error is emitted

@nicolasstucki nicolasstucki linked an issue Jul 1, 2020 that may be closed by this pull request
  * Only compute `elimErasedCtx` when error is emitted
  * Fall back to erasure context if it is the last phase
Let it crash if combined with `-Ystop-after:erasure`
@nicolasstucki nicolasstucki marked this pull request as ready for review July 1, 2020 16:28
@nicolasstucki nicolasstucki merged commit ea2f867 into scala:master Jul 1, 2020
@nicolasstucki nicolasstucki deleted the fix-#9267 branch July 1, 2020 19:28
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.

Class declaration and -Ystop-after:erasure throws NPE
2 participants