Files
kotlin/compiler/testData/codegen/bytecodeText/notNullAssertions/arrayListGet.kt

15 lines
259 B
Kotlin
Vendored

import java.util.ArrayList
fun foo(): Any {
val a = ArrayList<String>()
return a.get(0)
}
fun bar(a: ArrayList<String>) {
}
// 1 checkExpressionValueIsNotNull
// 0 checkNotNullExpressionValue
// 1 checkParameterIsNotNull
// 0 checkNotNullParameter