aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t0786.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix of t0786: view boundsMartin Odersky2014-03-211-0/+29
Previously, only implicit method types were eligible as views. This is too strict, as it rules out view bounds. We now also consider types that derive from Function1. The reason for not allowing any type is that this would cause us to check many more types for applicability when an implicit view is searched.