diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2016-09-16 22:28:27 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2016-10-10 13:25:34 +0200 |
commit | 787a2ceec02fe07fbb9efee673d3abb7cac2969e (patch) | |
tree | e64a077eea45b0298aca88fdfdd459cf9e1a9e83 /test/test/OtherEntryPointsTest.scala | |
parent | 5c243778279d8b258d7b1d34dd5146dff07eb437 (diff) | |
download | dotty-787a2ceec02fe07fbb9efee673d3abb7cac2969e.tar.gz dotty-787a2ceec02fe07fbb9efee673d3abb7cac2969e.tar.bz2 dotty-787a2ceec02fe07fbb9efee673d3abb7cac2969e.zip |
Add modifiers to highlighting
Diffstat (limited to 'test/test/OtherEntryPointsTest.scala')
-rw-r--r-- | test/test/OtherEntryPointsTest.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test/OtherEntryPointsTest.scala b/test/test/OtherEntryPointsTest.scala index 5f8681d38..824034055 100644 --- a/test/test/OtherEntryPointsTest.scala +++ b/test/test/OtherEntryPointsTest.scala @@ -5,6 +5,7 @@ import org.junit.Assert._ import dotty.tools.dotc.Main import dotty.tools.dotc.interfaces.{CompilerCallback, SourceFile} import dotty.tools.dotc.reporting._ +import dotty.tools.dotc.reporting.diagnostic.Message import dotty.tools.dotc.core.Contexts._ import java.io.File import scala.collection.mutable.ListBuffer @@ -50,7 +51,7 @@ class OtherEntryPointsTest { private class CustomReporter extends Reporter with UniqueMessagePositions with HideNonSensicalMessages { - def doReport(d: Diagnostic)(implicit ctx: Context): Unit = { + def doReport(m: Message)(implicit ctx: Context): Unit = { } } |