mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
13 lines
290 B
Java
13 lines
290 B
Java
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();
|
|
}
|
|
}
|