Skip to content

Conversation

@Duhemm
Copy link
Contributor

@Duhemm Duhemm commented Oct 31, 2018

No description provided.

In Scala 2, views whose parameters are passed by-value take precedence
over views whose parameters are passed by-name. This is no longer the
case in Scala 3. A type error reporting the ambiguous conversions will
be emitted in cases where this rule would be applied in Scala 2.
Copy link
Contributor

Choose a reason for hiding this comment

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

I would add an example the does not compile with Dotty but does with Scala 2

Copy link
Contributor

@odersky odersky left a comment

Choose a reason for hiding this comment

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

Looks good!

@Duhemm Duhemm merged commit 27d84a9 into scala:master Oct 31, 2018
@Duhemm Duhemm deleted the details-implicit-conversions branch October 31, 2018 17:04
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.

3 participants