summaryrefslogtreecommitdiff
path: root/test/files/pos/annotated-treecopy/Test_2.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-12-12 14:19:58 +0100
committerEugene Burmako <xeno.by@gmail.com>2012-12-13 08:41:53 +0100
commit9ba7cf856b5eb6a9c6277a09f5da75e2bfea05c2 (patch)
treedad00fbd96c9849b76571b82597e7b2342b36794 /test/files/pos/annotated-treecopy/Test_2.scala
parent0acb8a30c379f268e8a3e1340504530493a1a1dc (diff)
downloadscala-9ba7cf856b5eb6a9c6277a09f5da75e2bfea05c2.tar.gz
scala-9ba7cf856b5eb6a9c6277a09f5da75e2bfea05c2.tar.bz2
scala-9ba7cf856b5eb6a9c6277a09f5da75e2bfea05c2.zip
fixes incorrect handling of Annotated in lazy copier
Diffstat (limited to 'test/files/pos/annotated-treecopy/Test_2.scala')
-rw-r--r--test/files/pos/annotated-treecopy/Test_2.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/annotated-treecopy/Test_2.scala b/test/files/pos/annotated-treecopy/Test_2.scala
new file mode 100644
index 0000000000..836e0d888d
--- /dev/null
+++ b/test/files/pos/annotated-treecopy/Test_2.scala
@@ -0,0 +1,5 @@
+object Test extends App {
+ import Macros._
+ // tree { (x:((Int,Int,Int),(Int,Int,Int))) => { val y=x; val ((r1,m1,c1),(r2,m2,c2))=y; (r1, m1 + m2 + r1 * c1 * c2, c2) } }
+ tree { (x:((Int,Int,Int),(Int,Int,Int))) => { val ((r1,m1,c1),(r2,m2,c2))=x; (r1, m1 + m2 + r1 * c1 * c2, c2) } }
+} \ No newline at end of file