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

By-name implicits: Align detection of implicit recursion with the SIP #7368

Merged
merged 1 commit into from
Nov 21, 2018

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
@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
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
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