We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 048d45d commit e315891Copy full SHA for e315891
tests/pos/i14061.scala
@@ -0,0 +1,10 @@
1
+def main(args: Array[String]): Unit =
2
+ val bar: PartialFunction[Throwable, Unit] =
3
+ case e: IllegalArgumentException => e.printStackTrace
4
+ case e: Throwable => e.printStackTrace
5
+ try
6
+ println("a")
7
+ catch
8
+ bar
9
+ finally
10
0 commit comments