diff options
author | Paul Phillips <paulp@improving.org> | 2013-03-04 14:47:01 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-03-04 14:48:07 -0800 |
commit | dc1cd96ffd44ddd47ea1d5be88b4b9e438bd9c3b (patch) | |
tree | f364545f8be08dba80fc8a9ce570ea48ca8270d1 /test | |
parent | 8dc1bc78ca57876085bb3b384b002dd29bc0e5fe (diff) | |
download | scala-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')
-rw-r--r-- | test/files/run/t5603.scala | 3 |
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)) } } |