[JVM] Fix the nop removal optimization.
Never remove a nop if that would cause a line number to move across a local lifetime boundary. This fixes KT-42725.
This commit is contained in:
+1
-1
@@ -23,4 +23,4 @@ fun simpleFunVoid(f: () -> Unit): Unit {
|
||||
return f()
|
||||
}
|
||||
|
||||
// 3 NOP
|
||||
// 0 NOP
|
||||
|
||||
Reference in New Issue
Block a user