aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-10-30 17:09:34 +0100
committerMartin Odersky <odersky@gmail.com>2014-11-09 10:17:34 +0100
commit250418e830bc7ccacf13cb0d3a9121238d99632a (patch)
tree4acd1112a048d3299557deb17de920d343fc1ac3 /src/dotty/tools/dotc/Compiler.scala
parentd907f26da9f0d3625a4c35021993f04a553bd354 (diff)
downloaddotty-250418e830bc7ccacf13cb0d3a9121238d99632a.tar.gz
dotty-250418e830bc7ccacf13cb0d3a9121238d99632a.tar.bz2
dotty-250418e830bc7ccacf13cb0d3a9121238d99632a.zip
New phase: PrivateToStatic
Make private methods in traits static, so that we do not need to give a default for them.
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r--src/dotty/tools/dotc/Compiler.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala
index d4fa7e671..f4690df08 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -57,7 +57,8 @@ class Compiler {
new Constructors),
List(new LambdaLift,
new Flatten,
- new RestoreScopes)
+ new RestoreScopes),
+ List(new PrivateToStatic)
)
var runId = 1