From f9d6f834b6700ce90f2235604e7f269748c92276 Mon Sep 17 00:00:00 2001 From: nielsen Date: Thu, 5 Feb 2009 14:07:53 +0000 Subject: Compiler implementation of SIP 00002 and fixes ... Compiler implementation of SIP 00002 and fixes for tests and other tools like scaladoc --- test/files/run/docgenerator.scala | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/files/run') diff --git a/test/files/run/docgenerator.scala b/test/files/run/docgenerator.scala index b738231617..7db8e85a60 100644 --- a/test/files/run/docgenerator.scala +++ b/test/files/run/docgenerator.scala @@ -117,6 +117,11 @@ object Foo2 { val command = new CompilerCommand(List.fromArray(args), docSettings, error, false) try { object compiler extends Global(command.settings, reporter) { + override protected def computeInternalPhases() : Unit = { + phasesSet += syntaxAnalyzer + phasesSet += (analyzer.namerFactory: SubComponent) // note: types are there because otherwise + phasesSet += (analyzer.typerFactory: SubComponent) // consistency check after refchecks would fail. + } override def onlyPresentation = true } if (reporter.hasErrors) { -- cgit v1.2.3