Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Feb 21, 2017

Implicit and non-implicit functions are incomparable with <:<, but are
treated as equivalent with matches. This means implicit and non-implicit
functions of the same types override each other, but RefChecks will
give an error because their types are not subtypes.

Also contains a test for #2002.

… with <:<

Implicit and non-implicit functions are incomparable with <:<, but are
treated as equivalent with `matches`. This means implicit and non-implicit
functions of the same types override each other, but RefChecks will
give an error because their types are not subtypes.

Also contains a test for scala#2002.
@odersky
Copy link
Contributor Author

odersky commented Feb 22, 2017

The test failures are that i2002.scala still runs with -Yno-double-defs even though it should not, and locally it does not. Something seems to be wrong with the argument passing scheme under CI.

@odersky odersky merged commit 8a826ee into scala:master Feb 22, 2017
@allanrenucci allanrenucci deleted the fix-#2002 branch December 14, 2017 19:18
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.

1 participant