// FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER class GenericClass public fun GenericClass>.foo() {} public fun bar(t: T, ext: GenericClass.() -> Unit) {} fun test() { bar(mapOf(2 to 3)) { foo() } } // from library class Pair fun mapOf(keyValuePair: Pair): Map = throw Exception() infix fun A.to(that: B): Pair = throw Exception()