mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-04 00:21:30 +00:00
15 lines
286 B
Java
15 lines
286 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(kotlin.Function0<kotlin.Unit> r);
|
|
}
|
|
}
|