mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
12 lines
442 B
Java
12 lines
442 B
Java
package test;
|
|
|
|
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
|
|
|
public interface Sub extends Super1, Super2 {
|
|
@ExpectLoadError("Incompatible super methods: some are extension functions, some are not")
|
|
void foo(String p);
|
|
|
|
@ExpectLoadError("Incompatible super methods: some are extension functions, some are not|Incompatible super methods: some have vararg parameter, some have not")
|
|
void bar(String... p);
|
|
}
|