aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/transform/LambdaLift.scala
Commit message (Collapse)AuthorAgeFilesLines
* Handle supercalls in inner classes correctlyMartin Odersky2017-04-111-5/+8
| | | | | | The previous fix was too coarse. We need to move an anonymous function in a supercall towards the call, we just have to make sure it's not in the directly enclosing class.
* fix #2163: don't narrow liftedOwner if symbol is InSuperCallliu fengyun2017-04-111-0/+1
|
* Construct MethodTypes from parameter closureMartin Odersky2017-03-141-2/+2
| | | | | To allow for dependencies between method type parameters, construct MethodTypes from a closure that maps the currently constructed MethodType to its parameter types.
* Harden outer proxy computation of inlined codeMartin Odersky2017-02-191-3/+3
| | | | | | | | | | | It turns out that we simply cannot do reliable outer path computation that fills in the right hand sides of this-proxies from the types of these proxies. As-seen-from logic can mangle the types of proxies enough to scramble the necessary information. What we now do instead is simply count: We record the number of outer accesses to an outer this in inlineable code, and do the same number of outer accesses when computing the proxy.
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-0/+548