aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-02-10 13:24:27 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-03-11 14:43:05 +0100
commitd7c8d75246fd75d1cc03c1d39f7dd5518f215b47 (patch)
treef45d31a2677fb64d402c691420351fc7a46bef66 /src/dotty/tools/dotc/Compiler.scala
parent8195baf78b3305710174fca6f0e3ba58e60ca156 (diff)
downloaddotty-d7c8d75246fd75d1cc03c1d39f7dd5518f215b47.tar.gz
dotty-d7c8d75246fd75d1cc03c1d39f7dd5518f215b47.tar.bz2
dotty-d7c8d75246fd75d1cc03c1d39f7dd5518f215b47.zip
New phase: ElimWildcardIdents.
Ident('_') was reaching backend in rhs of body of initialiser methods. This phase replaces those initialisers with default values of corresponding type.
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 cb758c002..e8df49008 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),
+ List(/*new PrivateToStatic,*/ new CollectEntryPoints, new LabelDefs, new ElimWildcardIdents),
List(new GenBCode)
)