summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-03-04 14:47:01 -0800
committerPaul Phillips <paulp@improving.org>2013-03-04 14:48:07 -0800
commitdc1cd96ffd44ddd47ea1d5be88b4b9e438bd9c3b (patch)
treef364545f8be08dba80fc8a9ce570ea48ca8270d1 /test/files
parent8dc1bc78ca57876085bb3b384b002dd29bc0e5fe (diff)
downloadscala-dc1cd96ffd44ddd47ea1d5be88b4b9e438bd9c3b.tar.gz
scala-dc1cd96ffd44ddd47ea1d5be88b4b9e438bd9c3b.tar.bz2
scala-dc1cd96ffd44ddd47ea1d5be88b4b9e438bd9c3b.zip
Disentangled RangePositions from interactive.
This is a stepping stone to having range positions all the time, as well as to modularizing the presentation compiler. It does not enable range positions by default, only places them smoewhere where they can be.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/run/t5603.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/run/t5603.scala b/test/files/run/t5603.scala
index 60dfd01fee..8c8038a602 100644
--- a/test/files/run/t5603.scala
+++ b/test/files/run/t5603.scala
@@ -36,7 +36,8 @@ object Test extends DirectTest {
val settings = new Settings()
settings.Xprintpos.value = true
+ settings.Yrangepos.value = true
val command = new CompilerCommand((CommandLineParser tokenize extraSettings) ++ args.toList, settings)
- new Global(command.settings, new ConsoleReporter(settings)) with interactive.RangePositions
+ Global(command.settings, new ConsoleReporter(settings))
}
}