// FIR_IDENTICAL fun foo(a: (String) -> Unit) { "".a() } interface A : (String) -> Unit {} typealias AliasedEFT = ExtensionFunctionType fun foo(a: @AliasedEFT A) { // @Extension annotation on an unrelated type shouldn't have any effect on this diagnostic. // Only kotlin.Function{n} type annotated with @Extension should "".a() }