blob: c3ef214faf47f4b9a848e551bd752d5446507710 [file]
// LANGUAGE: +ContextParameters
// IGNORE_ERRORS
// FILE: JavaBase.java
public interface JavaBase {
public String foo(String a, String b);
}
// FILE: KotlinInterface.kt
import JavaBase
interface KotlinInterface : JavaBase {
context(a: String)
<!ACCIDENTAL_OVERRIDE!>fun foo(b: String): String<!>
}