You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error is that it's using a Provider in the declaration when it should just be Map<String, String>. However, the error message is a little confusing as it seems to imply that it's not a Map at all.
error: @Multibinds methods must return Map<K, V> or Set<T>
I think it would be easier for folks to debug if this message could be more explicit, such as mentioning that dagger intrinsic types like Provider and Lazy are not supported and mentioning if it sees one in the signature.
The text was updated successfully, but these errors were encountered:
This snippet may be accidentally written to declare a multibinding
The error is that it's using a
Provider
in the declaration when it should just beMap<String, String>
. However, the error message is a little confusing as it seems to imply that it's not aMap
at all.I think it would be easier for folks to debug if this message could be more explicit, such as mentioning that dagger intrinsic types like
Provider
andLazy
are not supported and mentioning if it sees one in the signature.The text was updated successfully, but these errors were encountered: