From 62cd29a17818625f9a0ec84ffdac827281ae6265 Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Thu, 23 Aug 2007 09:14:33 +0000 Subject: fix #1286 --- test/files/run/patmatnew.scala | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/files') diff --git a/test/files/run/patmatnew.scala b/test/files/run/patmatnew.scala index 76395bd7e2..7c283fae5c 100644 --- a/test/files/run/patmatnew.scala +++ b/test/files/run/patmatnew.scala @@ -443,6 +443,10 @@ object Test extends TestConsoleMain { z.isDefinedAt(42) s.isDefinedAt(42) // just load the thing, to see if the classes are found + + (None:Option[Boolean]) match { + case x if x.map(x => x).isEmpty => + } } } -- cgit v1.2.3