summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Global.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-03-07 05:24:00 +0000
committerPaul Phillips <paulp@improving.org>2010-03-07 05:24:00 +0000
commit5f9c20c232ee33d60f012aa999cb70da56e690ab (patch)
treeb35d9aa49dda5de45e23381ef24bc417d3d587b7 /src/compiler/scala/tools/nsc/Global.scala
parent121164ef717226fafaa6a72dcfef0aec1bd89ee4 (diff)
downloadscala-5f9c20c232ee33d60f012aa999cb70da56e690ab.tar.gz
scala-5f9c20c232ee33d60f012aa999cb70da56e690ab.tar.bz2
scala-5f9c20c232ee33d60f012aa999cb70da56e690ab.zip
One minute too many trying to figure out where ...
One minute too many trying to figure out where some partest classpath mutation was disappearing on me, and I snapped and started the process of creating an immutable Settings. This commit is for the most part infrastructure to enable its smooth and uneventful entrance. Review by community.
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Global.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala
index bf75c8d121..bb9fbed0e9 100644
--- a/src/compiler/scala/tools/nsc/Global.scala
+++ b/src/compiler/scala/tools/nsc/Global.scala
@@ -725,7 +725,7 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable
val startTime = currentTime
phase = globalPhase
globalPhase.run
- if (settings.print contains globalPhase.name)
+ if (settings.Xprint contains globalPhase.name)
if (settings.writeICode.value && globalPhase.id >= icodePhase.id) writeICode()
else if (settings.Xshowtrees.value) nodePrinters.printAll()
else printAllUnits()