overload resolution: resolve conflicts with static methods in super interfaces

This commit is contained in:
Anna.Kozlova
2017-10-24 10:49:54 +02:00
parent e412b361c7
commit 6bb976899e
3 changed files with 21 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
interface A {
static void m() {}
}
interface B extends A {
static void m() {}
default void f() {
m();
}
}