Skip to content

Conversation

@basclaessen
Copy link
Contributor

@basclaessen basclaessen commented Jul 14, 2021

Added ambiguous constructors to ambiguous constructor error message

Fixes: #2515

@filiphr
Copy link
Member

filiphr commented Jul 14, 2021

Good catch @basclaessen. Looking at the tests, I am not sure how I feel about eclipse 😄 . I would rather craft the elements on our side appropriately, so our Eclipse users also see better messages 😄.

Can you please do that as well?

@basclaessen
Copy link
Contributor Author

@filiphr Sure!
I changed the constructors to string conversion. The error message when using the Eclipse compiler is now equal to the error message when using the JDK compiler.

Copy link
Member

@filiphr filiphr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes @basclaessen. I've added some small suggestion (which I will accept and then merge this PR).

@filiphr filiphr merged commit eb12c48 into mapstruct:master Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ambiguous constructors error message does not contain the ambiguous constructors

2 participants