diff --git a/compile/interface/ScaladocInterface.scala b/compile/interface/ScaladocInterface.scala index a546795f1..3c77e263f 100644 --- a/compile/interface/ScaladocInterface.scala +++ b/compile/interface/ScaladocInterface.scala @@ -37,9 +37,18 @@ private class Runner(args: Array[String], log: Logger, delegate: xsbti.Reporter) { class DocFactory(reporter: Reporter, docSettings: doc.Settings) // 2.7 compatibility { - object compiler extends Global(command.settings, reporter) + // see https://github.com/paulp/scala-full/commit/649823703a574641407d75d5c073be325ea31307 + trait GlobalCompat + { + def onlyPresentation = false + + def forScaladoc = false + } + + object compiler extends Global(command.settings, reporter) with GlobalCompat { override def onlyPresentation = true + override def forScaladoc = true class DefaultDocDriver // 2.8 source compatibility { assert(false)