KT-9644: override default behavior for non-local return in FixStackAnalyzer
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
fun foo() {
|
||||
with(1) {
|
||||
return (1..2).forEach { it }
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
foo()
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user