aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t0786.scala
Commit message (Collapse)AuthorAgeFilesLines
* Drop special case around Function1Martin Odersky2017-03-081-1/+1
| | | | | | Now only Scala2 mode treats Function1's as implicit conversions. Instead we introduce a new subclass ImplicitConverter of Function1, instances of which are turned into implicit conversions.
* 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.