Skip to content

Conversation

@milessabin
Copy link
Contributor

The by-name implicits SIP specifies that a recursive occurrence of an implicit should tie the knot if there is at least one by-name parameter between the outermost and the innermost occurrence.

Prior to this commit the implementation required that either the innermost or the outermost occurrence must be by-name.

This commit brings the implementation into line with the SIP.

@scala-jenkins scala-jenkins added this to the 2.13.0-RC1 milestone Oct 24, 2018
@milessabin milessabin requested a review from adriaanm October 24, 2018 14:05
@SethTisue
Copy link
Member

SethTisue commented Oct 26, 2018

Jenkins green, Travis-CI red, and I don't see any error details in the Travis-CI log?!

scala/scala-dev#570

@milessabin
Copy link
Contributor Author

This one appears to be a failed fetch of a binary artefact from a lightbend repo. I've restarted the job ... fingers X'd it's transient.

@milessabin
Copy link
Contributor Author

Green on Travis now ... it was a transient.

@milessabin
Copy link
Contributor Author

@adriaanm this is good to go now ...

@milessabin milessabin force-pushed the topic/more-byname-fixes branch from d4e7317 to 94a0cca Compare November 21, 2018 11:31
@milessabin
Copy link
Contributor Author

Rebased.

@adriaanm
Copy link
Contributor

One more quick rebase and will merge this one too.

The by-name implicits SIP specifies that a recursive occurence of an
implicit should tie the knot if there is at least one by-name parameter
between the outermost and the innermost occurrence. Prior to this commit
the implementation required that either the innermost or the outermost
occurrence must be by-name. This commit brings the implementation into
line with the SIP.
@milessabin milessabin force-pushed the topic/more-byname-fixes branch from 94a0cca to c42cd49 Compare November 21, 2018 15:07
@milessabin
Copy link
Contributor Author

Rebased.

@milessabin
Copy link
Contributor Author

All green.

@adriaanm adriaanm merged commit c15d170 into scala:2.13.x Nov 21, 2018
@milessabin
Copy link
Contributor Author

Thanks!

@SethTisue SethTisue added the release-notes worth highlighting in next release notes label Nov 21, 2018
@SethTisue SethTisue changed the title Align detection of implicit recursion with the SIP By-name implicits: Align detection of implicit recursion with the SIP Apr 4, 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.

4 participants