From e2934204bbd5244ef259429846760adf994519c6 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Fri, 13 Jul 2012 12:29:34 -0700 Subject: Moved two tests to preserve path uniqueness. Can't have a pos/foo.scala and a pos/foo/ test simultaneously. --- test/files/pos/t1107a.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/files/pos/t1107a.scala (limited to 'test/files/pos/t1107a.scala') diff --git a/test/files/pos/t1107a.scala b/test/files/pos/t1107a.scala new file mode 100644 index 0000000000..0bf40bb4cc --- /dev/null +++ b/test/files/pos/t1107a.scala @@ -0,0 +1,10 @@ +object F { + type AnyClass = Class[_] + def tryf[T](ignore: List[AnyClass])(f: => T): Any = { + try { + f + } catch { + case e if ignore == null || ignore.isEmpty => {false} + } + } +} -- cgit v1.2.3