Add regression for EA-47864
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import java.util.Arrays
|
||||
|
||||
fun foo(): List<String>? = Arrays.asList("abcde")
|
||||
|
||||
fun box(): String {
|
||||
for (i in 1..3) {
|
||||
for (value in foo() ?: continue) {
|
||||
if (value != "abcde") return "Fail"
|
||||
}
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user