From 3049afc7ec7ca038dd8d68d26803c0733df01ee1 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 31 Mar 2006 10:36:49 +0000 Subject: fixed several old bugs --- test/pending/pos/bug421.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/pending/pos/bug421.scala (limited to 'test/pending/pos/bug421.scala') diff --git a/test/pending/pos/bug421.scala b/test/pending/pos/bug421.scala new file mode 100644 index 0000000000..3e014b7500 --- /dev/null +++ b/test/pending/pos/bug421.scala @@ -0,0 +1,8 @@ +object foo { + case class Bar(a:String, b:Object, c:String*); + + Bar("foo","meets","bar") match { + case Bar("foo",_*) => error("huh?"); + } + +} -- cgit v1.2.3