-
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.
Merge pull request #445 from tgodzik/fix-mdoc
Update scala 2.12 to 2.12.13
- Loading branch information
Showing
4 changed files
with
6 additions
and
7 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
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
7 changes: 3 additions & 4 deletions
7
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 |
---|---|---|
@@ -1,11 +1,10 @@ | ||
package mdoc.internal.markdown | ||
|
||
import scala.tools.nsc.Settings | ||
import scala.tools.nsc.reporters.AbstractReporter | ||
import scala.tools.nsc.reporters.FilteringReporter | ||
import scala.reflect.internal.util.Position | ||
|
||
trait VersionSpecificFilteringReporter extends AbstractReporter { self: FilterStoreReporter => | ||
override def display(pos: Position, msg: String, severity: Severity): Unit = | ||
trait VersionSpecificFilteringReporter extends FilteringReporter { self: FilterStoreReporter => | ||
override def doReport(pos: Position, msg: String, severity: Severity): Unit = | ||
add(pos, msg, severity) | ||
override def displayPrompt(): Unit = () | ||
} |