diff options
author | nielsen <nielsen@epfl.ch> | 2009-02-05 14:07:53 +0000 |
---|---|---|
committer | nielsen <nielsen@epfl.ch> | 2009-02-05 14:07:53 +0000 |
commit | f9d6f834b6700ce90f2235604e7f269748c92276 (patch) | |
tree | 3bbf19bdf012960863053cd49ba122e59286d7a8 /test/files | |
parent | ec3ee84bd2b4131a4d5942a63da7b834fd3f1daf (diff) | |
download | scala-f9d6f834b6700ce90f2235604e7f269748c92276.tar.gz scala-f9d6f834b6700ce90f2235604e7f269748c92276.tar.bz2 scala-f9d6f834b6700ce90f2235604e7f269748c92276.zip |
Compiler implementation of SIP 00002 and fixes ...
Compiler implementation of SIP 00002 and fixes for tests and other tools
like scaladoc
Diffstat (limited to 'test/files')
-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) { |