Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle inlining in inlining arguments | Martin Odersky | 2016-10-02 | 1 | -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 functions | Martin Odersky | 2016-10-02 | 1 | -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 |