FIR: allow lower bound of flexible type when finding contributed invoke

This commit is contained in:
Jinseong Jeon
2020-12-10 14:20:01 -08:00
committed by TeamCityServer
parent 4a24f0fab3
commit 3bca6ae893
6 changed files with 40 additions and 31 deletions
@@ -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 { }
}