Generate catch-block body within proper scope
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
fun test(f: () -> Unit) =
|
||||
try { f() } catch (e: Exception) { throw e }
|
||||
Reference in New Issue
Block a user
@@ -0,0 +1,2 @@
|
||||
fun test(f: () -> Unit) =
|
||||
try { f() } catch (e: Exception) { throw e }
|
||||