mirror of https://github.com/sbt/sbt.git
include retronym's compatibility patch, closes #5
This commit is contained in:
parent
c76a1c032f
commit
bc5253e386
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue