mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-05 15:52:05 +00:00
15 lines
280 B
Java
15 lines
280 B
Java
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);
|
|
}
|
|
}
|