aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/power.scala
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Recursive inlining testsMartin Odersky2016-10-021-0/+15
pos/power inlines with alomst no extraneous boilerplate. neg/power gives an error that maximal numbers of inlines was exceeded.