Files
kotlin-fork/compiler/testData/codegen/bytecodeText/builtinFunctions/genericParameterBridge/notNullParamMC.kt
T
2021-08-31 16:39:25 +03:00

13 lines
312 B
Kotlin
Vendored

abstract class A<T : Any> : MutableCollection<T> {
override fun contains(o: T): Boolean {
throw UnsupportedOperationException()
}
}
// 1 bridge
// 1 public final bridge size
// 0 INSTANCEOF
/* Only 1 null check should be within the contains method (because T is not nullable) */
// 1 IFNONNULL