aboutsummaryrefslogtreecommitdiff
path: root/tests/run/inlinePower
Commit message (Collapse)AuthorAgeFilesLines
* Make inline a keywordMartin Odersky2016-10-021-2/+1
| | | | | | | `inline` is now a modifier keyword. To keep disruption tolerable, we still allow `@inline` as an annotation as well. Other uses of `inline` are supported only under `-language:Scala2` and are rewritten to identifiers in backticks.
* Make inline annotation @scala.inline.Martin Odersky2016-10-021-1/+1
| | | | | | | | | | | | | | | | | | Drop @dotty.annotation.inline. This will inline all @inline marked methods in Scala for which a body is known (i.e. that are either compiled in the same run or have Tasty trees available). Option -Yno-inline suppresses inlining. This is needed for the moment because some @inline methods access private members or members that are otherwise inaccessible at the call-site. Also fixes some problems in Inliner - make sure type arguments to inline calls re fully defined - don't forget recursive calls in typeMap - don't forget positions in treeMap - drop dead code dealing with outer.
* Support separate compilationMartin Odersky2016-10-022-0/+22
Inline trees can now be read form TASTY. However, positions are not set correctly. This remains to be implemented.