From a3d868bf57e42a3391df774a5e2cfd7123828625 Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Fri, 5 Jan 2007 15:24:26 +0000 Subject: removed Xkilloption from ExplicitOuter tab->whitespace in PatternMatcher modified test case unapplySeq new test case unapplyGeneric --- test/pending/pos/unapplyGeneric.scala | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/pending/pos/unapplyGeneric.scala (limited to 'test/pending/pos/unapplyGeneric.scala') diff --git a/test/pending/pos/unapplyGeneric.scala b/test/pending/pos/unapplyGeneric.scala new file mode 100644 index 0000000000..3798d0b466 --- /dev/null +++ b/test/pending/pos/unapplyGeneric.scala @@ -0,0 +1,11 @@ +object Bar { + def unapply[A,B](bar:Bar[A,B]) = Some(bar) +} + +class Bar[A,B](val _1:A, val _2:B) extends Product2[A,B] + +object Test { + Bar(2, 'a') match { + case Bar(x,y) => + } +} -- cgit v1.2.3