diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-03-25 13:10:24 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-03-25 13:10:24 +0100 |
commit | e6fc268ae010bb664a0b7efa0a32922fb410e415 (patch) | |
tree | 55c88caa532d2358d7bf6ccba6e228c06eed18f9 /src/dotty/tools/dotc/Compiler.scala | |
parent | 01fae5d041201e2d8e03dff8c5b9f68c96dad1f5 (diff) | |
download | dotty-e6fc268ae010bb664a0b7efa0a32922fb410e415.tar.gz dotty-e6fc268ae010bb664a0b7efa0a32922fb410e415.tar.bz2 dotty-e6fc268ae010bb664a0b7efa0a32922fb410e415.zip |
New phase trait constructors.
Renames constructors in traits so that backend will call them with invokeInterface, instead of invokeSpecial
Also makes sure that renamed constructor bodies conforms to type of method
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r-- | src/dotty/tools/dotc/Compiler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala index e051e16c8..0db8a42c9 100644 --- a/src/dotty/tools/dotc/Compiler.scala +++ b/src/dotty/tools/dotc/Compiler.scala @@ -67,7 +67,7 @@ class Compiler { List(new LambdaLift, new Flatten, new RestoreScopes), - List(/*new PrivateToStatic,*/ new CollectEntryPoints, new LabelDefs, new ElimWildcardIdents), + List(/*new PrivateToStatic,*/ new CollectEntryPoints, new LabelDefs, new ElimWildcardIdents, new TraitConstructors), List(new GenBCode) ) |