summaryrefslogtreecommitdiff
path: root/test/files/run/docgenerator.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/docgenerator.scala')
-rw-r--r--test/files/run/docgenerator.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/docgenerator.scala b/test/files/run/docgenerator.scala
index 4792106456..b738231617 100644
--- a/test/files/run/docgenerator.scala
+++ b/test/files/run/docgenerator.scala
@@ -117,7 +117,7 @@ object Foo2 {
val command = new CompilerCommand(List.fromArray(args), docSettings, error, false)
try {
object compiler extends Global(command.settings, reporter) {
- override val onlyPresentation = true
+ override def onlyPresentation = true
}
if (reporter.hasErrors) {
reporter.flush()