Skip to content

Fix #2056: Backend crash when inlined method contains try #2059

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 1 commit into from
Mar 7, 2017

Conversation

smarter
Copy link
Member

@smarter smarter commented Mar 7, 2017

In various places we do "case EmptyTree =>", since Tree#equals uses
reference equality this means that EmptyTree should never be copied,
otherwise some other code path will be taken.

In various places we do "case EmptyTree =>", since Tree#equals uses
reference equality this means that EmptyTree should never be copied,
otherwise some other code path will be taken.
@smarter smarter requested a review from odersky March 7, 2017 12:21
@odersky
Copy link
Contributor

odersky commented Mar 7, 2017

LGTM

@odersky odersky merged commit bade85e into scala:master Mar 7, 2017
@allanrenucci allanrenucci deleted the fix/inline-EmptyTree branch December 14, 2017 19:22
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