Skip to content

Conversation

@milessabin
Copy link
Contributor

Following on from #5536 this commit adds another fields.castHack in AccessorSynthesis#expandLazyClassMember to deal with numeric but singleton typed numeric fields which would otherwise be widened by numericLub.

Fixes scala/bug#11071.

Following on from scala#5536 this commit adds another
fields.castHack in AccessorSynthesis#expandLazyClassMember to deal with
numeric but singleton typed numeric fields which would otherwise be
widened by numericLub.

Fixes scala/bug#11071.
@SethTisue
Copy link
Member

can this wait til RC1? we're trying hard to lock M5 down so we can build it tomorrow or Friday

@milessabin
Copy link
Contributor Author

I think it's low risk and it'd be better to have it in sooner rather than later. The fact that something like tap tickled it suggests it's probably needed.

Copy link
Member

@retronym retronym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty safe to me. Let's M5 it

@lrytz lrytz merged commit 2c8c772 into scala:2.13.x Aug 16, 2018
@SethTisue SethTisue changed the title Whack more moles in the fields Deal with numeric but singleton typed numeric fields Aug 21, 2018
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.

4 participants