Skip to content

Conversation

@eed3si9n
Copy link
Member

@eed3si9n eed3si9n commented Apr 9, 2018

Fixes scala/bug#1503

This is part 4 of -Xfuture plot line cleanup.
#3559 stopped assuming unsound type for ident/literal patterns under -Xfuture in Scala 2.11.

Since enough time has elapsed, I am ripping the bandaid off on SI-1503 (scala/bug#1503). Note that return type of some code may change.

Fixes scala/bug#1503

scala#3559 stopped assuming unsound type for ident/literal patterns under -Xfuture in Scala 2.11.

Since enough time has elapsed, I am ripping the bandaid off on SI-1503 (scala/bug#1503).
@scala-jenkins scala-jenkins added this to the 2.13.0-M4 milestone Apr 9, 2018
@adriaanm
Copy link
Contributor

adriaanm commented Apr 10, 2018

I'm going to let this one simmer for a few more days, to make sure we're comfortable with this change in a library release. In principle, I'm in favor.

@adriaanm adriaanm requested a review from lrytz April 10, 2018 12:52
@SethTisue
Copy link
Member

It doesn't seem out-of-bounds to me for 2.13.

@adriaanm adriaanm merged commit 4424c2b into scala:2.13.x Apr 30, 2018
@eed3si9n eed3si9n deleted the wip/remove-unsound-type-cast branch April 30, 2018 15:21
@SethTisue SethTisue added the release-notes worth highlighting in next release notes label Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes worth highlighting in next release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Casts inserted when pattern matching for equality on singletons are unsound

5 participants