diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2011-01-27 10:03:45 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2011-01-27 10:03:45 +0000 |
commit | 942d844aebc63dd417c77911acf565bf1e2c027d (patch) | |
tree | cda42a6023eb023437f5f2f01a21b3b9a6ca7128 /test/disabled/presentation | |
parent | 64da770afeb9b383e94228ad7d9f31b8f6e45dee (diff) | |
download | scala-942d844aebc63dd417c77911acf565bf1e2c027d.tar.gz scala-942d844aebc63dd417c77911acf565bf1e2c027d.tar.bz2 scala-942d844aebc63dd417c77911acf565bf1e2c027d.zip |
Re-enabled another position check in FindTrees.
Diffstat (limited to 'test/disabled/presentation')
-rw-r--r-- | test/disabled/presentation/find-trees.check | 3 | ||||
-rw-r--r-- | test/disabled/presentation/find-trees/FindTrees.scala | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/test/disabled/presentation/find-trees.check b/test/disabled/presentation/find-trees.check index 2b76b5aeb8..73405e818c 100644 --- a/test/disabled/presentation/find-trees.check +++ b/test/disabled/presentation/find-trees.check @@ -1,4 +1,7 @@ reload: InteractiveTest.scala +asking position at 19:4 +retrieved tree: InteractiveTest.this.settings + ==================== asking position at 20:16 retrieved tree: lazy private[this] var compiler: scala.tools.nsc.interactive.CompilerControl = new Global(InteractiveTest.this.settings, InteractiveTest.this.reporter) diff --git a/test/disabled/presentation/find-trees/FindTrees.scala b/test/disabled/presentation/find-trees/FindTrees.scala index 63272948a9..2d748e64cb 100644 --- a/test/disabled/presentation/find-trees/FindTrees.scala +++ b/test/disabled/presentation/find-trees/FindTrees.scala @@ -33,7 +33,7 @@ object Test extends InteractiveTest { override def runTest { import compiler._ val src = sourceFiles(0) // only one under src/ - //val pos = rangePos(src, 426, 426, 433) + val pos = rangePos(src, 426, 426, 433) val pos1 = src.position(19, 15) // this is an offset position // reload is issued already by the framework, so we don't need to do it, but it doesn't hurt @@ -42,7 +42,7 @@ object Test extends InteractiveTest { reload.get // it's important to let reload finish before asking other things. // re-enable when positions in the primary constructor are handled reliably -// askForPos(pos) + askForPos(pos) println("=" * 20) askForPos(pos1) |