diff options
author | mihaylov <mihaylov@epfl.ch> | 2007-02-06 16:06:34 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2007-02-06 16:06:34 +0000 |
commit | f54efe4dc3d13ffab28e6c1e7b0fced4b79eb8d0 (patch) | |
tree | edc177727863228bfaa809ecb7c9dee89c6bc4fb /test/files/run/try.scala | |
parent | 89e9d67df8a1cfa075808da59238b20f406f7f51 (diff) | |
download | scala-f54efe4dc3d13ffab28e6c1e7b0fced4b79eb8d0.tar.gz scala-f54efe4dc3d13ffab28e6c1e7b0fced4b79eb8d0.tar.bz2 scala-f54efe4dc3d13ffab28e6c1e7b0fced4b79eb8d0.zip |
Merged the dotnet-scala branch
Diffstat (limited to 'test/files/run/try.scala')
-rw-r--r-- | test/files/run/try.scala | 4 |
1 files changed, 2 insertions, 2 deletions
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 |