include retronym's compatibility patch, closes #5

This commit is contained in:
Mark Harrah 2011-06-11 20:09:15 -04:00
parent c76a1c032f
commit bc5253e386
1 changed files with 10 additions and 1 deletions

View File

@ -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)