All bounds may be specified in 'where' clause

Exception fixed in AlternativeMethodSignatureData
This commit is contained in:
Andrey Breslav
2014-05-13 18:21:35 +04:00
parent 788994283e
commit 3a9f577d1d
8 changed files with 80 additions and 49 deletions

View File

@@ -0,0 +1,12 @@
package test;
import jet.runtime.typeinfo.KotlinSignature;
import java.io.Serializable;
public class AllBoundsInWhen {
@KotlinSignature("fun <T> foo() where T: Serializable")
public <T extends Serializable> void foo() {
throw new UnsupportedOperationException();
}
}