summaryrefslogtreecommitdiff
path: root/test/files/run/t7871/Test_2.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2014-07-03 17:02:34 +0200
committerEugene Burmako <xeno.by@gmail.com>2014-07-03 18:50:15 +0200
commit36379cf8af8e0bb92f7a399fe2c8e1cb05b31fc9 (patch)
treef2a55323e644be25c68b04b76ffb8a862773476e /test/files/run/t7871/Test_2.scala
parent300db2a1e3eefc2a6ed379c870bc7da42a26e69a (diff)
downloadscala-36379cf8af8e0bb92f7a399fe2c8e1cb05b31fc9.tar.gz
scala-36379cf8af8e0bb92f7a399fe2c8e1cb05b31fc9.tar.bz2
scala-36379cf8af8e0bb92f7a399fe2c8e1cb05b31fc9.zip
[backport] transformers no longer ignore UnApply.fun
Backports 7122560063 and 4133eb8454 from the 2.11.x branch
Diffstat (limited to 'test/files/run/t7871/Test_2.scala')
-rw-r--r--test/files/run/t7871/Test_2.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t7871/Test_2.scala b/test/files/run/t7871/Test_2.scala
new file mode 100644
index 0000000000..3a0b68b568
--- /dev/null
+++ b/test/files/run/t7871/Test_2.scala
@@ -0,0 +1,6 @@
+object Test extends App {
+ import NewQuasiquotes._
+ SomeTree match {
+ case nq"$x + $y" => println((x, y))
+ }
+}