[FIR] Report DUPLICATE_PARAMETER_NAME_IN_FUNCTION_TYPE

^KT-59418 Fixed
This commit is contained in:
Nikolay Lunyak
2023-08-21 11:46:21 +03:00
committed by Space Team
parent 7d48a7934f
commit ed6a0af0a6
10 changed files with 60 additions and 1 deletions
@@ -2,6 +2,6 @@ fun test0(f: (String, String) -> Unit) {
f("", "")
}
fun test1(f: (a: Int, a: Int) -> Unit) {
fun test1(f: <!DUPLICATE_PARAMETER_NAME_IN_FUNCTION_TYPE!>(a: Int, a: Int) -> Unit<!>) {
f(1, 1)
}