Files
kotlin-fork/compiler/testData/diagnostics/tests/j+k/sam/privateCandidatesWithWrongArguments.kt
T
Mikhail Zarechenskiy 79ee8f452c Add test for obsolete issue
#KT-12688 Obsolete
2017-07-12 14:37:26 +03:00

20 lines
239 B
Kotlin
Vendored

// FILE: foo/A.java
package foo;
public class A {
static void f(B b) {
b.g();
}
public interface B {
void g();
}
}
// FILE: bar/sample.kt
package bar
fun main() {
foo.A.<!INVISIBLE_MEMBER!>f<!> {}
}