Files
kotlin/compiler/testData/codegen/boxAgainstJava/sam/adapters/kt5912.java
Michael Bogdanov 6bcb2e9001 Temporary fix for KT-5912
#KT-5912 Fixed
2014-10-07 17:48:17 +04:00

16 lines
339 B
Java

public class kt5912<T> {
public static interface Action<T> {
void call(T t);
}
public static class Some<T> {
public Some(T t) {
}
}
public static interface OnSubscribe<T> extends Action<Some<T>> {}
void perform(T t, OnSubscribe<T> subscribe) {
subscribe.call(new Some(t));
}
}