Skip to content

Remove redundant null check when matching value classes with extractor#9646

Merged
dwijnand merged 3 commits intoscala:2.13.xfrom
lrytz:b12405
Jun 1, 2021
Merged

Remove redundant null check when matching value classes with extractor#9646
dwijnand merged 3 commits intoscala:2.13.xfrom
lrytz:b12405

Conversation

@lrytz
Copy link
Member

@lrytz lrytz commented May 31, 2021

Follow-up for #6485

Fixes scala/bug#12405

@scala-jenkins scala-jenkins added this to the 2.13.7 milestone May 31, 2021
@dwijnand dwijnand merged commit 1073354 into scala:2.13.x Jun 1, 2021
@viktorklang
Copy link
Contributor

Nice work, @lrytz and @dwijnand!

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.

Unnecessary allocation in name-based matching on value class

4 participants