Skip to content

Commit

Permalink
Internal changes
Browse files Browse the repository at this point in the history
RELNOTES=n/a
PiperOrigin-RevId: 526793530
  • Loading branch information
Chang-Eric authored and Dagger Team committed Apr 26, 2023
1 parent 89d615c commit 4437c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/dagger/internal/codegen/binding/BindsTypeChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private XType desiredAssignableType(XType leftHandSide, ContributionType contrib
return methodParameterType(parameterizedSetType, "add");
case SET_VALUES:
// TODO(b/211774331): The left hand side type should be limited to Set types.
// NOTE: We rewrap the LHS to use java.util.Set before looking for the addAll() method
// NOTE - method
// because Kotlin source may be using kotlin.collection.Set which does not include addAll().
return methodParameterType(rewrapType(leftHandSide, TypeNames.SET), "addAll");
case MAP:
Expand Down

0 comments on commit 4437c5c

Please sign in to comment.