Files
kotlin-fork/idea/testData/inspectionsLocal/mapGetWithNotNullAssertionOperator/replaceWithElvisError.kt
T

5 lines
115 B
Kotlin
Vendored

// FIX: Replace with '?: error("")'
// WITH_RUNTIME
fun test(map: Map<Int, String>) {
val s = map[1]<caret>!!
}