blob: c9a9443e3d98de740474c6e1f624535265505527 [file]
// RUN_PIPELINE_TILL: FRONTEND
// ISSUE: KT-67912
// WITH_STDLIB
interface Bound
inline fun <reified F : Bound> foo(key: String): F? = null
fun main() {
val value: Map<String, String> = requireNotNull(
<!TYPE_INTERSECTION_AS_REIFIED_ERROR!>foo<!>("")
)
}
/* GENERATED_FIR_TAGS: functionDeclaration, inline, interfaceDeclaration, intersectionType, localProperty, nullableType,
propertyDeclaration, reified, stringLiteral, typeConstraint, typeParameter */