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

7 lines
130 B
Kotlin
Vendored

// FIX: "Replace with '!!' operator"
// WITH_RUNTIME
fun foo(p: Array<String?>) {
val v = p[0]
<caret>assert(v != null)
}