-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Scala 2.13.1 integration
- Loading branch information
Showing
8 changed files
with
39 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
mdoc/src/main/scala-2.11/mdoc/internal/markdown/VersionSpecificFilteringReporter.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package mdoc.internal.markdown | ||
|
||
import scala.tools.nsc.Settings | ||
import scala.tools.nsc.reporters.AbstractReporter | ||
import scala.reflect.internal.util.Position | ||
|
||
trait VersionSpecificFilteringReporter extends AbstractReporter { self: FilterStoreReporter => | ||
override def display(pos: Position, msg: String, severity: Severity): Unit = | ||
add(pos, msg, severity) | ||
override def displayPrompt(): Unit = () | ||
} |
11 changes: 11 additions & 0 deletions
11
mdoc/src/main/scala-2.12/mdoc/internal/markdown/VersionSpecificFilteringReporter.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package mdoc.internal.markdown | ||
|
||
import scala.tools.nsc.Settings | ||
import scala.tools.nsc.reporters.AbstractReporter | ||
import scala.reflect.internal.util.Position | ||
|
||
trait VersionSpecificFilteringReporter extends AbstractReporter { self: FilterStoreReporter => | ||
override def display(pos: Position, msg: String, severity: Severity): Unit = | ||
add(pos, msg, severity) | ||
override def displayPrompt(): Unit = () | ||
} |
10 changes: 10 additions & 0 deletions
10
mdoc/src/main/scala-2.13/mdoc/internal/markdown/VersionSpecificFilteringReporter.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package mdoc.internal.markdown | ||
|
||
import scala.tools.nsc.Settings | ||
import scala.tools.nsc.reporters.FilteringReporter | ||
import scala.reflect.internal.util.Position | ||
|
||
trait VersionSpecificFilteringReporter extends FilteringReporter { self: FilterStoreReporter => | ||
override def doReport(pos: Position, msg: String, severity: Severity): Unit = | ||
add(pos, msg, severity) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters