-
Notifications
You must be signed in to change notification settings - Fork 21
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
Extension method interferes with unification #7745
Comments
Imported From: https://issues.scala-lang.org/browse/SI-7745?orig=1 |
@retronym said: val base = new Base[String]
base.op(OpTarget[BaseOps[String]#OpT](23)) // OK in all cases |
@retronym said:
|
@retronym said:
The bug seems to lie in |
@retronym said: When typechecking
|
Works in 2.13.x. Test at scala/scala#9657 |
Compiling the following produces an error only in the presence of the combination of the implicit conversion from Base to BaseOps and the use of the type alias to partially apply the binary type constructor Op. If the underlying type constructor is unary, or if the method on BaseOps is called directly then compilation succeeds.
The text was updated successfully, but these errors were encountered: