From 578b99d3a642479dad7e2eafc06b035dfee9fff8 Mon Sep 17 00:00:00 2001 From: michelou Date: Tue, 15 May 2007 17:00:38 +0000 Subject: added OSGi bundle support --- test/files/pos/bug1107.scala | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/files/pos/bug1107.scala (limited to 'test/files/pos') diff --git a/test/files/pos/bug1107.scala b/test/files/pos/bug1107.scala new file mode 100644 index 0000000000..d3cdbf65cc --- /dev/null +++ b/test/files/pos/bug1107.scala @@ -0,0 +1,9 @@ +object F { + def tryf[T](ignore: List[Class])(f: => T): Any = { + try { + f + } catch { + case e if ignore == null || ignore.isEmpty => {false} + } + } +} -- cgit v1.2.3