summaryrefslogtreecommitdiff
path: root/test/files/run/t3761-overload-byname.check
Commit message (Collapse)AuthorAgeFilesLines
* more tests for SI-3761Lukas Rytz2012-05-231-0/+6
|
* SI-3761: Overload resolution fails on by-name parameter (amended per lrytz)Som Snytt2012-05-221-0/+2
| | | | Lukas noted the stopgap at methTypeArgs isn't needed. What! No black tie formals.
* SI-3761: Overload resolution fails on by-name parameterSom Snytt2012-05-211-0/+4
When isAsSpecific checks if method m applies to args of types of formal params of m1, a by-name parameter was converted to its underlying result type for the params (of m) but not the args (of m1). This had the useful effect of making m(A) more specific than m(=>A), which is the specified prioritization for implicit views, but also made m(=>A) and m(=>A, B*) ambiguous. To handle this edge case, the isCompatible test for A and =>A is made explicit, and by-name params are no longer converted.