mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
All bounds may be specified in 'where' clause
Exception fixed in AlternativeMethodSignatureData
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user