FIR: support more precise diagnostics about parameter names
#KT-52762 Fixed
This commit is contained in:
Vendored
+2
-2
@@ -10,6 +10,6 @@ interface C : A, B { // Warning here, this is correct
|
||||
}
|
||||
|
||||
fun test(c: C) {
|
||||
c.foo(a = 1)
|
||||
c.foo(<!NAMED_PARAMETER_NOT_FOUND!>b<!> = 1<!NO_VALUE_FOR_PARAMETER!>)<!>
|
||||
c.foo(<!NAME_FOR_AMBIGUOUS_PARAMETER!>a<!> = 1)
|
||||
c.foo(<!NAME_FOR_AMBIGUOUS_PARAMETER!>b<!> = 1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user