From 5f9c20c232ee33d60f012aa999cb70da56e690ab Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sun, 7 Mar 2010 05:24:00 +0000 Subject: 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. --- src/compiler/scala/tools/nsc/Global.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/scala/tools/nsc/Global.scala') 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() -- cgit v1.2.3