aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-06-01 05:45:07 +0200
committerMartin Odersky <odersky@gmail.com>2015-06-01 15:04:46 +0200
commit922084456e5fd8497c3ed924102d9ed0911c88be (patch)
tree88cf0a96953d97c67dfa99b5f9993622858c416c /src/dotty/tools/dotc/Compiler.scala
parent9b85e308cfae87b9decd13ac4862668e7720648e (diff)
downloaddotty-922084456e5fd8497c3ed924102d9ed0911c88be.tar.gz
dotty-922084456e5fd8497c3ed924102d9ed0911c88be.tar.bz2
dotty-922084456e5fd8497c3ed924102d9ed0911c88be.zip
Elim ElimWildcardIdents
Instead of cleaning up, generate sensical code in the first place. This is shorter and (I would argue) clearer, and also has the advantage that some initializing assignments are not generated at all.
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r--src/dotty/tools/dotc/Compiler.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala
index 8b0e08a4c..2a3bdc1ca 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -71,7 +71,6 @@ class Compiler {
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 ElimWildcardIdents,
new RestoreScopes),
List(/*new PrivateToStatic,*/
new ExpandPrivate,