From 06aa1c9eff49d5190e82a72a876d7b3bd706d6d4 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sat, 2 Oct 2010 22:43:10 +0000 Subject: Sorting through the tests in pending from oldes... Sorting through the tests in pending from oldest to newest because I don't believe in having useless appendages. The verdict on the oldest fifteen tests is: 15/15 are fixed. Many were already in files under a different name. I moved a few and deleted the rest. Fun fact of the day: apparently there was a time when to call into java varargs with no arguments you might have to write something like: getClass().getMethod("getCount", Array[java.lang.Class[T] forSome { type T }]()) On this basis I retract any complaints I've ever had about anything. There is one question mark outlined in pos/testCoercionThis.scala, a file formerly called pos/moors.scala and therefore... review by moors. --- test/files/run/exc2.scala | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/files/run/exc2.scala (limited to 'test/files/run/exc2.scala') diff --git a/test/files/run/exc2.scala b/test/files/run/exc2.scala new file mode 100644 index 0000000000..00a269a364 --- /dev/null +++ b/test/files/run/exc2.scala @@ -0,0 +1,12 @@ +object Test extends Application { + def foo() = { + while (true) { + try { + Console.println("foo") + } catch { + case ex: Exception => + Console.println("bar") + } + } + } +} -- cgit v1.2.3