Skip to content

Gin does not throw an error for ambiguous @Assisted parameters #174

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Create an @Assisted factory method that takes two unnamed booleans and a 
matching @Inject constructor.

What is the expected output? What do you see instead?
I expect an error, since the two are ambiguous. Instead, Gin passes the first 
argument to the factory method to both of the @Assisted constructor parameters.

Original issue reported on code.google.com by hes...@google.com on 13 Mar 2012 at 8:01

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions