summaryrefslogtreecommitdiff
path: root/test/files/presentation/hyperlinks/Runner.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2012-05-08 16:07:15 +0200
committerIulian Dragos <jaguarul@gmail.com>2012-05-08 17:06:49 +0200
commit2e8029b127699ecd8ed1f55456faa345bd88c5ee (patch)
tree446e90390c05750e7bb0de4adfa4acafce7292d5 /test/files/presentation/hyperlinks/Runner.scala
parentf9410256d97d8b8001e96291016d25f020013784 (diff)
downloadscala-2e8029b127699ecd8ed1f55456faa345bd88c5ee.tar.gz
scala-2e8029b127699ecd8ed1f55456faa345bd88c5ee.tar.bz2
scala-2e8029b127699ecd8ed1f55456faa345bd88c5ee.zip
Fixed positions in named default applications (no hyperlinking in conjunction with implicit arguments).
Removed even more code in the presentation compiler testing infrastructure. One less level of indirection, and a top-level object gone!
Diffstat (limited to 'test/files/presentation/hyperlinks/Runner.scala')
-rw-r--r--test/files/presentation/hyperlinks/Runner.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/presentation/hyperlinks/Runner.scala b/test/files/presentation/hyperlinks/Runner.scala
new file mode 100644
index 0000000000..3d19f2d948
--- /dev/null
+++ b/test/files/presentation/hyperlinks/Runner.scala
@@ -0,0 +1,11 @@
+import scala.tools.nsc.interactive.tests.InteractiveTest
+
+object Test extends InteractiveTest {
+ override def runTests() {
+ // make sure typer is done.. the virtual pattern matcher might translate
+ // some trees and mess up positions. But we'll catch it red handed!
+ sourceFiles foreach (src => askLoadedTyped(src).get)
+ super.runTests()
+ }
+
+} \ No newline at end of file