KT-3553 Problem with propagation for extension functions

#KT-3553 fixed
This commit is contained in:
Evgeny Gerashchenko
2013-05-07 16:04:17 +04:00
parent dd87c38ea3
commit d56494ebd3
10 changed files with 140 additions and 28 deletions
@@ -0,0 +1,11 @@
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);
}