FIR: allow lower bound of flexible type when finding contributed invoke
This commit is contained in:
committed by
TeamCityServer
parent
4a24f0fab3
commit
3bca6ae893
@@ -16,7 +16,7 @@ public interface MyListener<F extends MyFuture<?>> {
|
||||
typealias Handler = (cause: Throwable?) -> Unit
|
||||
|
||||
fun <T> MyFuture<T>.setup() {
|
||||
addListener(ListenerImpl<T, MyFuture<T>>())
|
||||
<!INAPPLICABLE_CANDIDATE!>addListener<!>(ListenerImpl<T, MyFuture<T>>())
|
||||
addListener { }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user