Rename: fix renaming of label by label reference in loop
#KT-29796 Fixed
This commit is contained in:
committed by
Alexander Podkhalyuzin
parent
76bdfddfea
commit
b4789b95ef
@@ -0,0 +1,6 @@
|
||||
fun test() {
|
||||
foo@ for (n in 1..10) {
|
||||
if (n == 5) continue@foo
|
||||
if (n > 8) break@/*rename*/foo
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user