aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/transform/ParamForwarding.scala
Commit message (Collapse)AuthorAgeFilesLines
* Only use shadowed when necessaryMartin Odersky2017-03-201-7/+8
|
* Use shadowing to reference inherited accessors.Martin Odersky2017-03-201-3/+9
| | | | | | Normal references won't work since the referenced accessor has the same name as a private name in the class defining the forwarder. This showed up as pickling failures under separate compilation.
* Construct MethodTypes from parameter closureMartin Odersky2017-03-141-1/+1
| | | | | To allow for dependencies between method type parameters, construct MethodTypes from a closure that maps the currently constructed MethodType to its parameter types.
* Fix #1776: Avoid interaction between parameter forwarding and elimByNameMartin Odersky2016-12-111-1/+3
| | | | | | Parameter forwarding is not geared to handle parameters of by-name types correctly and consequently elimByName generates wrong code. Since it's a corner case it's easiest by not applying the parameter forwarding optimization to by-name parameters.
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-0/+94