mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-04 08:31:30 +00:00
If interface method has generic parameters, interface is not functional.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package test;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface GenericMethodParameters {
|
||||
<A extends CharSequence, B extends List<A>> void method(A[] a, B b);
|
||||
}
|
||||
Reference in New Issue
Block a user