Skip to content

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

2 participants