Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Apr 27, 2020

The eliminated assertion looked weird -- it makes no sense to compare
the code (i.e. the bits) of two period encodings. It failed in innocuous
code, and dropping it did not cause follow-on errors.

Sorry, no test. If someone else wants to add a test, please do. But it is
such a weird case (and was such a weird assertion) that I am not sure we need
to have a test.

odersky added 2 commits April 27, 2020 19:45
The eliminated assertion looked weird -- it makes no sense to compare the code (i.e. the bits) of two period encodings. It failed in innocuous code, and dropping it did not cause follow-on errors. Sorry, no test. If someone else wants to add a test, please do. But it is such a weird case (and was such a weird assertion) that I am not sure we need to have a test.
@bishabosha
Copy link
Member

does #8814 need to merge first?

@odersky
Copy link
Contributor Author

odersky commented Apr 28, 2020

No, the two are independent. They are both trivial fixes, so we can maybe review and merge them together.

Copy link
Member

@bishabosha bishabosha left a comment

Choose a reason for hiding this comment

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

LGTM

@bishabosha bishabosha merged commit a3a3cf6 into scala:master Apr 28, 2020
@bishabosha bishabosha deleted the fix-#8729 branch April 28, 2020 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants