| // 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 */ |