diff options
Diffstat (limited to 'tests/run/liftedTry.scala')
-rw-r--r-- | tests/run/liftedTry.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/liftedTry.scala b/tests/run/liftedTry.scala index 0d956fc1f..5ff4add6d 100644 --- a/tests/run/liftedTry.scala +++ b/tests/run/liftedTry.scala @@ -25,7 +25,7 @@ object Tr { def fun(a: Int => Unit) = a(2) def foo: Int = { var s = 1 - s = try {fun(s = _); 3} catch{ case ex: Throwable => s = 4; 5 } + s = try {fun(s = _); 3} catch{ case ex: Throwable => val x = 4; s = x; 5 } s } } |