// FIR_IDENTICAL // SKIP_TXT // !LANGUAGE: +DefinitelyNonNullableTypes inline fun foo() {} inline fun bar() { foo<F & Any>() } class KAnnotatedElement(val annotations: List) inline fun Iterable<*>.firstIsInstanceOrNull(): T? { return null } private inline fun KAnnotatedElement.findAnnotation(): T? = annotations.firstIsInstanceOrNull()