aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/sams.scala
Commit message (Collapse)AuthorAgeFilesLines
* Harmonize PolyType and TypeLambdaMartin Odersky2016-10-121-0/+13
| | | | | | Let them inherit the same traits and push as much functionality as possibly into the common superclass GenericType.
* More conditions under which SAMs are converted to anonymous classesMartin Odersky2015-05-021-0/+12
| | | | | | | Also included are - Closures implementing classes that inherit from a class other than Object - Closures that implement traits which run initialization code.
* New miniphase: ExpandSAMsMartin Odersky2015-05-021-0/+63
The phase replaces SAM closures with anonymous classes when necessary.