Open
Description
motif usage with kaptish forces using @JvmSuppressWildcards to be able to match types between providers and consumers
0.3.2 with kaptish:
Repro steps or stacktrace:
// Provider
@motif.Objects
@Suppress("detekt.UnnecessaryAbstractClass")
abstract class Objects {
fun confirmationModalBuilder(): Function0<Foo.Builder> {
return { Foo.builder() }
}
...
}
// Consumer
internal open class FooPresenter(
private val someProvider: Function0<@JvmSuppressWildcards Foo.Builder>
) : Presenter() {
...
Metadata
Assignees
Labels
No labels
Activity