summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2011-01-25 06:26:51 +0000
committerIulian Dragos <jaguarul@gmail.com>2011-01-25 06:26:51 +0000
commit3235722859a6ff30f186c948c78b1ee37ff36329 (patch)
tree244fe2cc154c6f69815a97d0ef225f779a6a99ad
parent82a6aaab866edfce187eb0a96e034c2c50bbf780 (diff)
downloadscala-3235722859a6ff30f186c948c78b1ee37ff36329.tar.gz
scala-3235722859a6ff30f186c948c78b1ee37ff36329.tar.bz2
scala-3235722859a6ff30f186c948c78b1ee37ff36329.zip
Stripped one more embarrasing absolute path fro...
Stripped one more embarrasing absolute path from test output. no review.
-rw-r--r--src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala2
-rw-r--r--test/files/presentation/simple-tests.check4
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)