diff options
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala | 2 | ||||
-rw-r--r-- | test/files/presentation/simple-tests.check | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala b/src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala index 6eae342e76..fbb5f7786a 100644 --- a/src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala +++ b/src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala @@ -132,7 +132,7 @@ abstract class InteractiveTest { */ def typeAtTests() { askAllSources(typedAtMarker) { pos => - println("askTypeAt at " + pos) + println("askTypeAt at " + pos.source.file.name + ((pos.line, pos.column))) val r = new Response[compiler.Tree] compiler.askTypeAt(pos, r) r diff --git a/test/files/presentation/simple-tests.check b/test/files/presentation/simple-tests.check index 16eff2b532..777c680dfa 100644 --- a/test/files/presentation/simple-tests.check +++ b/test/files/presentation/simple-tests.check @@ -183,8 +183,8 @@ TypeMember(method wait,(x$1: Long,x$2: Int)Unit,true,true,<none>) TypeMember(method wait,(x$1: Long)Unit,true,true,<none>) TypeMember(value x,=> scala.tools.nsc.util.SourceFile,true,false,method any2ArrowAssoc) TypeMember(value x,scala.tools.nsc.util.SourceFile,false,false,method any2ArrowAssoc) -askTypeAt at source-/Users/dragos/workspace/git/scala/test/files/presentation/simple-tests/src/Tester.scala,line-12,offset=243 -askTypeAt at source-/Users/dragos/workspace/git/scala/test/files/presentation/simple-tests/src/Tester.scala,line-13,offset=288 +askTypeAt at Tester.scala(12,14) +askTypeAt at Tester.scala(13,14) [response] askTypeAt at (12,14) private[this] val reporter: scala.tools.nsc.reporters.StoreReporter = new reporters.StoreReporter() [response] askTypeAt at (13,14) |