Skip to content

Add string qualifier to @Assisted annotation to disambiguate duplicate assisted parameter types. - #2327

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_353061817
Feb 5, 2021
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_353061817

Conversation

@copybara-service

Copy link
Copy Markdown

Add string qualifier to @assisted annotation to disambiguate duplicate assisted parameter types.

Fixes #2281

RELNOTES=Fixes #2281: Force duplicate assisted types to use @assisted("...") to disambiguate.

@google-cla google-cla Bot added the cla: yes label Jan 28, 2021
Comment thread java/dagger/assisted/Assisted.java Resolved
@copybara-service
copybara-service Bot force-pushed the test_353061817 branch 2 times, most recently from 87fb27d to e9de2d0 Compare February 5, 2021 19:00
…e assisted parameter types.

Fixes #2281

RELNOTES=Fixes #2281: Force duplicate assisted types to use @assisted("...") to disambiguate.
PiperOrigin-RevId: 355891518
@copybara-service
copybara-service Bot merged commit 44d4f4b into master Feb 5, 2021
@copybara-service
copybara-service Bot deleted the test_353061817 branch February 5, 2021 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AssistedInject] Validate that parameters names match between factory method and the constructor

2 participants