be0dd84a06
The check has already been partially implemented in org.jetbrains.kotlin.fir.resolve.calls.FirCallArgumentsProcessor. This change completes the missing piece that determines if a `FirFunction` has stable parameter names.
18 lines
298 B
Kotlin
Vendored
18 lines
298 B
Kotlin
Vendored
// !WITH_NEW_INFERENCE
|
|
// FILE: test/J.java
|
|
|
|
package test;
|
|
|
|
public class J {
|
|
public static void foo(String s, Runnable r, Boolean z) {
|
|
}
|
|
}
|
|
|
|
// FILE: usage.kt
|
|
|
|
package test
|
|
|
|
fun test() {
|
|
J.foo("", <!NAMED_ARGUMENTS_NOT_ALLOWED!>r = { }<!>, <!NAMED_ARGUMENTS_NOT_ALLOWED!>z = false<!>)
|
|
}
|