FIR CFG: route to exit of try main for throw in try main
to make the remaining part of try main marked as dead. ^KT-45475 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
7a7114f896
commit
922419efb8
@@ -40,7 +40,7 @@ fun conditionalThrowInTry_smartcastInTry(a: A) {
|
||||
if (a !is B) {
|
||||
throw AssertionError()
|
||||
}
|
||||
<!INAPPLICABLE_CANDIDATE!>takeB<!>(a)
|
||||
takeB(a)
|
||||
} catch (e: Throwable) {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user