aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-06-02 11:06:07 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-06-02 11:13:55 +0200
commit4afa3ffe68f450c1f47018892489a0f2a9b4b9b5 (patch)
treeb8648b8bfe2475e72338d57a53164b49eb93725e /src/dotty/tools/dotc/Compiler.scala
parentf0787353e407a01a4b0a5f814c3d0feeff7cd87e (diff)
downloaddotty-4afa3ffe68f450c1f47018892489a0f2a9b4b9b5.tar.gz
dotty-4afa3ffe68f450c1f47018892489a0f2a9b4b9b5.tar.bz2
dotty-4afa3ffe68f450c1f47018892489a0f2a9b4b9b5.zip
Revert "Fix ElimStaticThis#transformIdent"
This reverts commit 3d240ad40ccfb570174ec9758bfe68ba4e91eefb. This commit got in without succeding the review. It broke what already was working(inner static objects), and made impossible moving static methods from companion object to companion class. Additionally, commenting or removing assertions is not the way to go, and should not pass review. See discussion here: https://github.com/dotty-staging/dotty/commit/3d240ad40ccfb570174ec9758bfe68ba4e91eefb
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r--src/dotty/tools/dotc/Compiler.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala
index 41e77c61f..d7ef44144 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -67,8 +67,8 @@ 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 Flatten,
new ElimStaticThis,
+ new Flatten,
new RestoreScopes),
List(/*new PrivateToStatic,*/
new ExpandPrivate,