fun foo(p: List) { for (i in 1..10) { val v = p[i] if (v == null) continue } }