aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-29 18:50:54 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-29 18:56:01 +0200
commitdd80fe09cdf4f83efbdf3b7e88f9c686e2a6c137 (patch)
tree310dbacbf251e0847ed2634d90025f32ef79eb99 /src/dotty/tools/dotc/Compiler.scala
parent878b55a95b3567cd2d83753208ea3c43c9cb6434 (diff)
downloaddotty-dd80fe09cdf4f83efbdf3b7e88f9c686e2a6c137.tar.gz
dotty-dd80fe09cdf4f83efbdf3b7e88f9c686e2a6c137.tar.bz2
dotty-dd80fe09cdf4f83efbdf3b7e88f9c686e2a6c137.zip
New phase: ElimStaticThis
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r--src/dotty/tools/dotc/Compiler.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala
index 1569d360d..d7ef44144 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -67,6 +67,7 @@ class Compiler {
new Constructors,
new FunctionalInterfaces),
List(new LambdaLift, // in this mini-phase block scopes are incorrect. No phases that rely on scopes should be here
+ new ElimStaticThis,
new Flatten,
new RestoreScopes),
List(/*new PrivateToStatic,*/