summaryrefslogtreecommitdiff
path: root/test/files/run/t7271.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7271.scala')
-rw-r--r--test/files/run/t7271.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/run/t7271.scala b/test/files/run/t7271.scala
index 6fccf14d20..cb43331a29 100644
--- a/test/files/run/t7271.scala
+++ b/test/files/run/t7271.scala
@@ -4,6 +4,7 @@ import scala.tools.nsc._
import scala.tools.nsc.util.CommandLineParser
import scala.tools.nsc.{Global, Settings, CompilerCommand}
import scala.tools.nsc.reporters.ConsoleReporter
+import scala.reflect.internal.Positions
object Test extends DirectTest {
@@ -29,6 +30,6 @@ object Test extends DirectTest {
val settings = new Settings()
settings.Xprintpos.value = true
val command = new CompilerCommand((CommandLineParser tokenize extraSettings) ++ args.toList, settings)
- new Global(command.settings, new ConsoleReporter(settings)) with interactive.RangePositions
+ new Global(command.settings, new ConsoleReporter(settings)) with Positions
}
}