-
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 #447 from tgodzik/fix-mdoc
Make older Scala 2.12 versions work
- Loading branch information
Showing
5 changed files
with
38 additions
and
2 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
11 changes: 11 additions & 0 deletions
11
mdoc/src/main/scala-2.12.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 = () | ||
} |
File renamed without changes.