aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t2421_delitedsl.scala
Commit message (Collapse)AuthorAgeFilesLines
* Disallow subtypes of Function1 acting as implicit conversionsMartin Odersky2017-03-081-0/+3
| | | | | | | | | | The new test `falseView.scala` shows the problem. We might create an implicit value of some type that happens to be a subtype of Function1. We might now expect that this gives us an implicit conversion, this is most often unintended and surprising. See the comment in Implicits#discardForView for a discussion why we picked the particular scheme implemented here.
* Update tests to use new PolyType syntax.Martin Odersky2016-10-121-2/+2
|
* Fix of pos/t2454Martin Odersky2014-05-301-0/+39
"_" type paraeters need to be given fresh names.