Supported complex cases of SAM adapters inheritance/overriding.

This commit is contained in:
Evgeny Gerashchenko
2013-07-02 23:16:22 +04:00
parent f17290b4f2
commit fc99ad35b3
27 changed files with 460 additions and 19 deletions
@@ -0,0 +1,14 @@
package test;
import java.io.Closeable;
public interface OverriddenAmbiguousAdapters {
public interface Super {
void foo(Runnable r);
void foo(Closeable r);
}
public interface Sub extends Super {
void foo(jet.Function0<jet.Unit> r);
}
}