aboutsummaryrefslogtreecommitdiff
path: root/tests/run/inlineForeach.scala
Commit message (Collapse)AuthorAgeFilesLines
* Handle inlining in inlining argumentsMartin Odersky2016-10-021-4/+8
| | | | | | | | We got unbound symbols before because a TreeTypeMap would copy a tree of an inline DefDef but would not adapt the inline body stored in the @inline annotation of the DefDef to point to the updated tree.
* Generalize checkInlineConformant to functionsMartin Odersky2016-10-021-0/+44
Pure expressions with function types now are considered conforming. Necessitated a change in TreeInfo to accept closures as pure expressions. Test case in inlineForeach