Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test to close scala/bug#5075. #6366

Merged
merged 1 commit into from
Jun 1, 2018
Merged

Test to close scala/bug#5075. #6366

merged 1 commit into from
Jun 1, 2018

Conversation

milessabin
Copy link
Contributor

Fixed, most likely by the SI-2712 fix.


function[PartialApply1Of2[Tuple2, Int]#Apply](param): Int //Compiles
function(param) //Does not compile
param: Int //Does not compile
Copy link
Contributor

@Blaisorblade Blaisorblade Mar 3, 2018

Choose a reason for hiding this comment

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

Cool that it compiles now! Suspect those comments are stale 😉

trait PartialApply1Of2[T[_, _], A] {
type Apply[B] = T[A, B]

type Flip[B] = T[B, A]
Copy link
Contributor

Choose a reason for hiding this comment

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

Was Flip to be used for something?

Copy link
Contributor

Choose a reason for hiding this comment

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

Guess I just forgot to minimize it away in 2011. But it's useful for your comment scala/bug#5075 (comment).

Copy link
Contributor

Choose a reason for hiding this comment

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

@Blaisorblade I suspect that a modern minimization of 5075 would use Flip instead, no?

Copy link
Contributor

Choose a reason for hiding this comment

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

Of course, I already upvoted your comment! (Nitpick: I'd add testcases with Flip in addition.)

Copy link
Contributor

@adriaanm adriaanm left a comment

Choose a reason for hiding this comment

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

Echoing requested changes by other reviewers

@adriaanm adriaanm modified the milestones: 2.13.0-M4, 2.13.0-M5 Apr 30, 2018
@adriaanm
Copy link
Contributor

adriaanm commented Jun 1, 2018

I updated the test file.

@lrytz lrytz merged commit 013b8c4 into scala:2.13.x Jun 1, 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.

6 participants