Fix codegen & bytecode tests after unifying exceptions in JVM backend
See KT-22275 for details
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ public class F {
|
||||
inline fun <T, U> expectAssertion(f: () -> (T) -> U): Unit? {
|
||||
try {
|
||||
F.passNull(f())
|
||||
} catch (e: IllegalArgumentException) {
|
||||
} catch (e: NullPointerException) {
|
||||
return Unit
|
||||
}
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user