aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorAlexander Myltsev <alexander.myltsev@phystech.edu>2015-07-27 21:04:58 +0300
committerAlexander Myltsev <alexander.myltsev@phystech.edu>2015-07-27 21:18:28 +0300
commitd24c6945963198566cd8e97e6bcacf6ebe2127dc (patch)
tree28d95f59b223290c035ed2f716840c19f6b73872 /src/dotty/tools/dotc/Compiler.scala
parent2cf567b1023734d481e8511e4e3314246afef6a4 (diff)
downloaddotty-d24c6945963198566cd8e97e6bcacf6ebe2127dc.tar.gz
dotty-d24c6945963198566cd8e97e6bcacf6ebe2127dc.tar.bz2
dotty-d24c6945963198566cd8e97e6bcacf6ebe2127dc.zip
Put GetClass to next mini-phase
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r--src/dotty/tools/dotc/Compiler.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala
index a58ee907d..76cf10428 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -62,7 +62,6 @@ class Compiler {
new AugmentScala2Traits,
new ResolveSuper),
List(new Erasure),
- List(new GetClass), // getClass transformation should be applied to specialized methods
List(new ElimErasedValueType,
new VCElideAllocations,
new Mixin,
@@ -71,7 +70,8 @@ class Compiler {
new LinkScala2ImplClasses,
new CapturedVars, // capturedVars has a transformUnit: no phases should introduce local mutable vars here
new Constructors,
- new FunctionalInterfaces),
+ new FunctionalInterfaces,
+ new GetClass), // getClass transformation should be applied to specialized methods
List(new LambdaLift, // in this mini-phase block scopes are incorrect. No phases that rely on scopes should be here
new ElimStaticThis,
new Flatten,