Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Unapplied method conversion error is not consistent when an implicit conversion is applied #11851
Following code demonstrates an inconsistent error with Scala 2.13.1.
The code uses an implicit conversion to adapt a function to a different signature. The underscore is required only when the result of the implicit conversion is a function with a different number of parameters.
I think the error should not be given at all, or in both situations. I am not sure which of those would be more logical.
I won't pretend to be unconfused.