Skip to content

Commit 3a8f708

Browse files
committed
Add test case
1 parent 6bb6210 commit 3a8f708

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/run/liftedTry.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ object Test {
1212

1313
foo(try 3 catch handle)
1414

15-
def main(args: Array[String]): Unit = {
15+
def main(args: Array[String]) = {
1616
assert(x == 1)
1717
assert(foo(2) == 2)
1818
assert(foo(try raise(3) catch handle) == 3)
1919
Tr.foo
2020
}
2121
}
2222

23-
2423
object Tr {
2524
def fun(a: Int => Unit) = a(2)
2625
def foo: Int = {

0 commit comments

Comments
 (0)