Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Drop special case around Function1 | Martin Odersky | 2017-03-08 | 1 | -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 bounds | Martin Odersky | 2014-03-21 | 1 | -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. |