aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/desugar.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-12-07 18:25:19 +0100
committerMartin Odersky <odersky@gmail.com>2013-12-07 18:25:19 +0100
commit394c0a7439820fc18665be182fa9839b41d28164 (patch)
tree7a03e468850676f7ce837b83983b6f3287002470 /tests/pos/desugar.scala
parent377eb3318cdacd2dfb91d56be3649431ec1155f0 (diff)
downloaddotty-394c0a7439820fc18665be182fa9839b41d28164.tar.gz
dotty-394c0a7439820fc18665be182fa9839b41d28164.tar.bz2
dotty-394c0a7439820fc18665be182fa9839b41d28164.zip
Fixes for translation of pattern definitions (PatDef)
Diffstat (limited to 'tests/pos/desugar.scala')
-rw-r--r--tests/pos/desugar.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pos/desugar.scala b/tests/pos/desugar.scala
index 80c7529fa..fbf55d18b 100644
--- a/tests/pos/desugar.scala
+++ b/tests/pos/desugar.scala
@@ -32,5 +32,7 @@ object desugar {
val xs = Cons(1, Cons(2, Nil))
val Cons(y, ys) = xs
+ val Cons(z, _) = xs
+ val Cons(_, _) = xs
}
} \ No newline at end of file