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.
15 lines
308 B
Kotlin
Vendored
15 lines
308 B
Kotlin
Vendored
// !WITH_NEW_INFERENCE
|
|
// FILE: KotlinFile.kt
|
|
fun foo(javaClass: JavaClass) {
|
|
javaClass.doSomething(<!NAMED_ARGUMENTS_NOT_ALLOWED!>p = 1<!>) {
|
|
bar()
|
|
}
|
|
}
|
|
|
|
fun bar(){}
|
|
|
|
// FILE: JavaClass.java
|
|
public class JavaClass {
|
|
public void doSomething(int p, Runnable runnable) { runnable.run(); }
|
|
}
|