anvil
anvil copied to clipboard
Binding module validation should check type parameters when determining if a bound type is valid
https://github.com/square/anvil/issues/750
This is a follow-up to the work from https://github.com/square/anvil/pull/833, which was reverted in https://github.com/square/anvil/pull/887.
For a binding like:
@Binds
fun bind(str: Provider<String>): Provider<CharSequence>
Anvil should check the variance of Provider, see that it's an out, and allow for this binding.
@RBusarow I will fix that soon