aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2015-05-04 09:12:44 +0200
committerodersky <odersky@gmail.com>2015-05-04 09:12:44 +0200
commit4808d1ddf94ddfcab5e6b5dd9a8d2a3b003b89e0 (patch)
tree3389ee0e7dd0884f183ddc0f99c903a3e1a7fa35 /src/dotty/tools/dotc/Compiler.scala
parentc834118d819ed0decbf4c969ccb078030213ecb0 (diff)
parent6ad6ca73c9893eb20d908c383ea24ff2cc200406 (diff)
downloaddotty-4808d1ddf94ddfcab5e6b5dd9a8d2a3b003b89e0.tar.gz
dotty-4808d1ddf94ddfcab5e6b5dd9a8d2a3b003b89e0.tar.bz2
dotty-4808d1ddf94ddfcab5e6b5dd9a8d2a3b003b89e0.zip
Merge pull request #517 from dotty-staging/add/expand-privates
Expand private members if necessary
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r--src/dotty/tools/dotc/Compiler.scala7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala
index 44e7ac450..4142acfa4 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -67,7 +67,12 @@ 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 RestoreScopes),
- List(/*new PrivateToStatic,*/ new CollectEntryPoints, new LabelDefs, new ElimWildcardIdents, new TraitConstructors),
+ List(/*new PrivateToStatic,*/
+ new ExpandPrivate,
+ new CollectEntryPoints,
+ new LabelDefs,
+ new ElimWildcardIdents,
+ new TraitConstructors),
List(new GenBCode)
)