Skip to content

Mention implicit conversion restrictions in overview #4354

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

Merged
merged 2 commits into from
Apr 20, 2018

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Apr 20, 2018

It's a minor point, but important for many people that it is addressed.

It's a minor point, but important for many people that it is addressed.
([Pending](https://github.com/lampepfl/dotty/pull/4229))
Implicit conversions are very easily mis-used, which makes them the cause of much suprising behavior.
We now require a language feature import not only when an implicit conversion is defined
by also when it is applied. This protects users of libraries that define implicit conversions
Copy link
Contributor

Choose a reason for hiding this comment

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

s/by/but

Copy link

Choose a reason for hiding this comment

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

also: misused*

@odersky odersky merged commit f2bb231 into scala:master Apr 20, 2018
@allanrenucci allanrenucci deleted the add-overview-4 branch April 20, 2018 15: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