From fe133c86f413abc789164619221bf560b97531b1 Mon Sep 17 00:00:00 2001 From: Lex Spoon Date: Mon, 6 Aug 2007 21:36:06 +0000 Subject: create a new Run before computing the phases in... create a new Run before computing the phases in phaseDescription (see bug #1255) --- src/compiler/scala/tools/nsc/Global.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index bad2cff766..b0f6c17585 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -426,6 +426,7 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable /** A description of the phases that will run */ def phaseDescriptions: String = { + new Run // force some initialization val messages = for (phase <- phaseDescriptors) yield phase.phaseName //todo: + " - " + phase.description -- cgit v1.2.3