aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-27 13:49:25 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-29 09:29:12 +0100
commit35de6f1847d2d6dc5bde3d97929933525b3f13f8 (patch)
treee5824e13f647fa9df9c822a539bc75910fb41b61
parent37cf9efe509b0bac4fb6bda01b7126e7511e43f0 (diff)
downloaddotty-35de6f1847d2d6dc5bde3d97929933525b3f13f8.tar.gz
dotty-35de6f1847d2d6dc5bde3d97929933525b3f13f8.tar.bz2
dotty-35de6f1847d2d6dc5bde3d97929933525b3f13f8.zip
Enable squashed phases by default.
Squash was accidenbtally turned off before. Is now on again.
-rw-r--r--src/dotty/tools/dotc/core/Phases.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Phases.scala b/src/dotty/tools/dotc/core/Phases.scala
index 12e700521..87242c9b5 100644
--- a/src/dotty/tools/dotc/core/Phases.scala
+++ b/src/dotty/tools/dotc/core/Phases.scala
@@ -72,7 +72,7 @@ object Phases {
* The list should never contain NoPhase.
* if squashing is enabled, phases in same subgroup will be squashed to single phase.
*/
- def usePhases(phasess: List[List[Phase]], squash: Boolean = false) = {
+ def usePhases(phasess: List[List[Phase]], squash: Boolean = true) = {
phases = (NoPhase :: phasess.flatten ::: new TerminalPhase :: Nil).toArray
nextDenotTransformerId = new Array[Int](phases.length)
denotTransformers = new Array[DenotTransformer](phases.length)