aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Phases.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-08-18 13:56:50 +0200
committerMartin Odersky <odersky@gmail.com>2014-08-18 13:56:50 +0200
commitb53a03f1183c062bed0120257e0519eb81e7619e (patch)
tree42145189d0347c27eac849e2a64ef0a2eb6cd0ca /src/dotty/tools/dotc/core/Phases.scala
parent91b9180d17571e2d0d74b748ceaedfccec4c2bd2 (diff)
downloaddotty-b53a03f1183c062bed0120257e0519eb81e7619e.tar.gz
dotty-b53a03f1183c062bed0120257e0519eb81e7619e.tar.bz2
dotty-b53a03f1183c062bed0120257e0519eb81e7619e.zip
Make ElimByName change owners of by-name parameters
By-name parameters did not have their owner changed before. This was not noticed in treecheck because the method generated for the closure did not have its Method flag set by accident, so owmer checking ignored the new val. Once the Methgod flag was set, owner checking failed. Once changeOwner was added, a whole lot of other things failed, which led to the fixes in the previous commits.
Diffstat (limited to 'src/dotty/tools/dotc/core/Phases.scala')
0 files changed, 0 insertions, 0 deletions