summaryrefslogtreecommitdiff
path: root/test/files/run/exceptions-2.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2007-07-13 09:48:44 +0000
committerIulian Dragos <jaguarul@gmail.com>2007-07-13 09:48:44 +0000
commitca623645faee8ba8dc5d88da3b2faf0eceabc288 (patch)
treea5871cbbcd078fbb38c80e6dd942b692af240cc2 /test/files/run/exceptions-2.scala
parent84224545d924ce53af7d2fb53fccb079c4c63295 (diff)
downloadscala-ca623645faee8ba8dc5d88da3b2faf0eceabc288.tar.gz
scala-ca623645faee8ba8dc5d88da3b2faf0eceabc288.tar.bz2
scala-ca623645faee8ba8dc5d88da3b2faf0eceabc288.zip
Rolled back the change to trick the constant fo...
Rolled back the change to trick the constant folder.
Diffstat (limited to 'test/files/run/exceptions-2.scala')
-rw-r--r--test/files/run/exceptions-2.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/run/exceptions-2.scala b/test/files/run/exceptions-2.scala
index e26b2e4a84..3802297d84 100644
--- a/test/files/run/exceptions-2.scala
+++ b/test/files/run/exceptions-2.scala
@@ -115,8 +115,7 @@ object Test {
def withValue1: Unit = {
val x = try {
- var y = 10
- y
+ 10
} finally {
Console.println("Oh, oh");
};