summaryrefslogtreecommitdiff
path: root/test/files/presentation/patmat.flags
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2012-04-25 17:28:07 +0200
committerIulian Dragos <jaguarul@gmail.com>2012-04-25 17:28:07 +0200
commit07ed42f07380aec06e5d0f65d69ce6826df39e2a (patch)
tree8140af3a4b0d56c57a202ca224fe99159dd427e4 /test/files/presentation/patmat.flags
parent1d0372f84f9a7325a47beb55169cc454895ef74b (diff)
downloadscala-07ed42f07380aec06e5d0f65d69ce6826df39e2a.tar.gz
scala-07ed42f07380aec06e5d0f65d69ce6826df39e2a.tar.bz2
scala-07ed42f07380aec06e5d0f65d69ce6826df39e2a.zip
Added a Presentation Compiler test for hyperlinking.
This test ensures hyperlinking works inside and around pattern matching. The new virtual pattern matcher synthesizes trees that are not properly nested, and whose positions make it impossible to retrieve the correct tree/symbol for a given position. Therefore, the current test is using the old pattern matcher. However, once the virtual pattern matcher is fixed, remove the corresponding line from patmat.flags to re-enable virtpatmat.
Diffstat (limited to 'test/files/presentation/patmat.flags')
-rw-r--r--test/files/presentation/patmat.flags3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/presentation/patmat.flags b/test/files/presentation/patmat.flags
new file mode 100644
index 0000000000..468b48c9e3
--- /dev/null
+++ b/test/files/presentation/patmat.flags
@@ -0,0 +1,3 @@
+# This test will fail in the new pattern matcher because
+# it generates trees whose positions are not transparent
+-Xoldpatmat