From ac0bfa6220835723498a2f387b803fe8cd87b68d Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 27 Jul 2011 20:59:33 +0000 Subject: A few tests for pending and non-pending, no rev... A few tests for pending and non-pending, no review. --- test/files/pos/list-extractor.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/files/pos/list-extractor.scala (limited to 'test/files/pos/list-extractor.scala') diff --git a/test/files/pos/list-extractor.scala b/test/files/pos/list-extractor.scala new file mode 100644 index 0000000000..79c622bca0 --- /dev/null +++ b/test/files/pos/list-extractor.scala @@ -0,0 +1,8 @@ +// This was fixed in r25277 but is enough different +// from the case I was knowingly fixing, I'm throwing it +// in there. +object HasArgs { + def boop(params: List[List[_]]) = params match { + case List(List()) => 2 + } +} -- cgit v1.2.3