From 8ae754399d250a8f5bc66e8347949e5c5570ac34 Mon Sep 17 00:00:00 2001 From: Iulian Dragos Date: Tue, 4 Jan 2011 17:06:20 +0000 Subject: Disentangled scaladoc and the presentation comp... Disentangled scaladoc and the presentation compiler. Now there are different flags, forInteractive and forScaladoc, instead of the overloaded onlyPresentation. While it is unfortunate to have these flags, I know of no easy way to customize the typer (the behavior they control is pretty deep into the analyzer). This shaves off around 100MB of unnecessary docComments from the presentation compiler. review by odersky, dubochet. --- test/disabled/run/docgenerator.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/disabled') diff --git a/test/disabled/run/docgenerator.scala b/test/disabled/run/docgenerator.scala index 8e0c7589ad..ebbc869fb1 100644 --- a/test/disabled/run/docgenerator.scala +++ b/test/disabled/run/docgenerator.scala @@ -124,7 +124,7 @@ object Foo2 { phasesSet += analyzer.namerFactory phasesSet += analyzer.typerFactory } - override def onlyPresentation = true + override def forScaladoc = true } if (reporter.hasErrors) { reporter.flush() -- cgit v1.2.3