[FIR] Always report when named arguments are not allowed

#KT-59177 Fixed
This commit is contained in:
Brian Norman
2023-06-07 15:24:03 -05:00
committed by Space Team
parent 61ed34f4b7
commit 92cb47a8f9
7 changed files with 29 additions and 36 deletions
@@ -3,6 +3,7 @@ package
public fun test1(/*0*/ f: Function1Impl): kotlin.Unit
public fun test2(/*0*/ f: (kotlin.String) -> kotlin.Unit): kotlin.Unit
public fun test3(/*0*/ f: kotlin.String.(kotlin.String) -> kotlin.Unit): kotlin.Unit
public fun test4(/*0*/ f: (myParamName: kotlin.String) -> kotlin.Unit): kotlin.Unit
public final class Function1Impl : (kotlin.String) -> kotlin.Unit {
public constructor Function1Impl()