mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
Supported complex cases of SAM adapters inheritance/overriding.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package test;
|
||||
|
||||
import java.io.Closeable;
|
||||
|
||||
public interface InheritedAmbiguousAdapters {
|
||||
public interface Super {
|
||||
void foo(Runnable r);
|
||||
void foo(Closeable r);
|
||||
}
|
||||
|
||||
public interface Sub extends Super {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user