aboutsummaryrefslogtreecommitdiff
path: root/tests/run/overload_directly_applicable.check
Commit message (Collapse)AuthorAgeFilesLines
* Overloading resolution: prefer directly applicable methodsGuillaume Martres2016-06-031-0/+1
If directly applicable alternatives exists, do not try other alternatives. The original motivation for this change was to reduce the number of searches for implicit views we do since some overloaded methods like `Int#+` are used a lot, but it turns out that this also makes more code compile (see `overload_directly_applicable.scala` for an example), this change does not seem to match what the specification says (it does not define a notion of "directly applicable") but it does match the behavior of scalac, and it seems useful in general.