Files
kotlin-fork/idea/testData/inspectionsLocal/simplifyAssertNotNull/commentsNoMessage.kt.after
T
2017-12-26 18:39:49 +03:00

9 lines
183 B
Plaintext
Vendored

// FIX: "Replace with '!!' operator"
// WITH_RUNTIME
fun foo(p: Array<String?>) {
/* null */
val v = p[0]!!
// now let's check it for null
// 'v' should not be null
}