[FE1.0] Fix CFG for inline function calls in finally blocks.
The body of the InlinedLocalFunctionDeclarationInstruction was not copied. That confuses the information on the exceptional edge with the information on the normal edge. ^KT-52131 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
2100afd122
commit
17b5e46547
@@ -0,0 +1,10 @@
|
||||
// FIR_IDENTICAL
|
||||
|
||||
fun foo(): Int {
|
||||
var result = 0
|
||||
try {
|
||||
} finally {
|
||||
42.let { }
|
||||
}
|
||||
return result
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package
|
||||
|
||||
public fun foo(): kotlin.Int
|
||||
Reference in New Issue
Block a user