diff options
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/docgenerator.scala | 5 |
1 files changed, 5 insertions, 0 deletions
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) { |