From d6b4cda628d43c2c7ede1fbfbffbff7cd62d2919 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Tue, 17 Dec 2013 10:33:27 +0100 Subject: Test to show the bug with hyperlinking in macro arguments Currently, the presentation compiler sees the expansion of macros; this no longer contains the trees corresponding to the macro arguments, and hyperlink requests result incorrect results. https://www.assembla.com/spaces/scala-ide/tickets/1001449# --- test/files/presentation/hyperlinks-macro/Runner.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/files/presentation/hyperlinks-macro/Runner.scala (limited to 'test/files/presentation/hyperlinks-macro/Runner.scala') diff --git a/test/files/presentation/hyperlinks-macro/Runner.scala b/test/files/presentation/hyperlinks-macro/Runner.scala new file mode 100644 index 0000000000..c2f89bdb17 --- /dev/null +++ b/test/files/presentation/hyperlinks-macro/Runner.scala @@ -0,0 +1,8 @@ +import scala.tools.nsc.interactive.tests.InteractiveTest + +object Test extends InteractiveTest { + override def runDefaultTests() { + sourceFiles foreach (src => askLoadedTyped(src).get) + super.runDefaultTests() + } +} -- cgit v1.2.3