From f54efe4dc3d13ffab28e6c1e7b0fced4b79eb8d0 Mon Sep 17 00:00:00 2001 From: mihaylov Date: Tue, 6 Feb 2007 16:06:34 +0000 Subject: Merged the dotnet-scala branch --- test/files/run/try.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/run/try.scala') diff --git a/test/files/run/try.scala b/test/files/run/try.scala index fca6bf5c55..934ebaa2e7 100644 --- a/test/files/run/try.scala +++ b/test/files/run/try.scala @@ -43,12 +43,12 @@ object Test extends AnyRef with Application { def try4 = { if (instance == null) { instance = try { - new String(); + "" //new String(); } catch { case _ => val cs = "aaa"; if (cs.length() > 0) { - new String(); + "" //new String(); } else { throw new Error("fatal error"); null -- cgit v1.2.3