Skip to content

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

@GoogleCodeExporter

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 [email protected] on 13 Mar 2012 at 8:01

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions