summaryrefslogtreecommitdiff
path: root/test/files/run/try.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2007-02-06 16:06:34 +0000
committermihaylov <mihaylov@epfl.ch>2007-02-06 16:06:34 +0000
commitf54efe4dc3d13ffab28e6c1e7b0fced4b79eb8d0 (patch)
treeedc177727863228bfaa809ecb7c9dee89c6bc4fb /test/files/run/try.scala
parent89e9d67df8a1cfa075808da59238b20f406f7f51 (diff)
downloadscala-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.scala4
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