Fix codegen & bytecode tests after unifying exceptions in JVM backend
See KT-22275 for details
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ fun f(x: String) = "Fail 1"
|
||||
fun box(): String {
|
||||
return try {
|
||||
f(J.s())
|
||||
} catch (e: IllegalStateException) {
|
||||
} catch (e: NullPointerException) {
|
||||
if (e.message == "J.s() must not be null" || e.message == "s() must not be null")
|
||||
"OK"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user