diff options
author | Martin Odersky <odersky@gmail.com> | 2014-11-01 18:33:56 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-11-09 19:08:58 +0100 |
commit | 43075bb832c3b4fe080c24a20ecf8c4737d5cdd2 (patch) | |
tree | 680cc886c536c34b4c3718663386d1cb13be4924 /src/dotty/tools/dotc/Compiler.scala | |
parent | 0119ffd3e285e43b63fb9c43c1c8b009174a1987 (diff) | |
download | dotty-43075bb832c3b4fe080c24a20ecf8c4737d5cdd2.tar.gz dotty-43075bb832c3b4fe080c24a20ecf8c4737d5cdd2.tar.bz2 dotty-43075bb832c3b4fe080c24a20ecf8c4737d5cdd2.zip |
Improved version of mixin.
Now also handles all supercalls. Seems to do the right thing on pos/traits.scala.
But does not pass most tests because the sym transformer forces too many things.
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r-- | src/dotty/tools/dotc/Compiler.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala index f4690df08..62759ba09 100644 --- a/src/dotty/tools/dotc/Compiler.scala +++ b/src/dotty/tools/dotc/Compiler.scala @@ -50,8 +50,9 @@ class Compiler { new Splitter), List(new ElimByName, new InterceptedMethods, - new Literalize, - new GettersSetters), + new Literalize), + List(new Mixin), + List(new GettersSetters), List(new Erasure), List(new CapturedVars, new Constructors), |