Files
Vladislav.Koshkin 2517f9319b [kotlin] apply .k2.kt.after postfix for inspection tests
GitOrigin-RevId: 12097426763100bef908255bbc2cde2794c99857
2023-11-13 19:49:56 +00:00

8 lines
152 B
Kotlin

fun foo(p: List<String?>): Int {
val v = p[0]
<caret>if (v == null) {
// return -1 if null
return -1
}
return v.length
}