summaryrefslogtreecommitdiff
path: root/test/files/presentation/hyperlinks-macro.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-12-17 10:33:27 +0100
committerEugene Burmako <xeno.by@gmail.com>2014-01-08 20:46:51 +0100
commitd6b4cda628d43c2c7ede1fbfbffbff7cd62d2919 (patch)
treebd705b6807d0b657170e3d314ed0c7f99e3d03fd /test/files/presentation/hyperlinks-macro.check
parent7e0eee211fee8958e93fad646846f1df0405d499 (diff)
downloadscala-d6b4cda628d43c2c7ede1fbfbffbff7cd62d2919.tar.gz
scala-d6b4cda628d43c2c7ede1fbfbffbff7cd62d2919.tar.bz2
scala-d6b4cda628d43c2c7ede1fbfbffbff7cd62d2919.zip
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#
Diffstat (limited to 'test/files/presentation/hyperlinks-macro.check')
-rw-r--r--test/files/presentation/hyperlinks-macro.check11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/presentation/hyperlinks-macro.check b/test/files/presentation/hyperlinks-macro.check
new file mode 100644
index 0000000000..39e66d1eca
--- /dev/null
+++ b/test/files/presentation/hyperlinks-macro.check
@@ -0,0 +1,11 @@
+reload: MacroCall.scala
+
+askHyperlinkPos for `<local Test>` at (5,7) MacroCall.scala
+================================================================================
+[response] found askHyperlinkPos for `<local Test>` at (1,13) MacroCall.scala
+================================================================================
+
+askHyperlinkPos for `foo` at (9,7) MacroCall.scala
+================================================================================
+[response] found askHyperlinkPos for `foo` at (2,7) MacroCall.scala
+================================================================================