If interface method has generic parameters, interface is not functional.

This commit is contained in:
Evgeny Gerashchenko
2013-03-21 21:22:38 +04:00
parent 91282b992d
commit dea7ef77ec
4 changed files with 24 additions and 2 deletions
@@ -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);
}
@@ -0,0 +1,5 @@
package test
public trait GenericMethodParameters : java.lang.Object {
public abstract fun </*0*/ A : jet.CharSequence?, /*1*/ B : jet.List<A>?> method(/*0*/ p0 : jet.Array<out A>?, /*1*/ p1 : B?) : jet.Unit
}