Temporary fix for KT-5912
#KT-5912 Fixed
This commit is contained in:
committed by
Evgeny Gerashchenko
parent
6b336be10c
commit
6bcb2e9001
@@ -0,0 +1,16 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user