-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Feature/2663 #3007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/2663 #3007
Conversation
…earch for the next method.
processor/src/main/java/org/mapstruct/ap/internal/model/common/Type.java
Outdated
Show resolved
Hide resolved
sjaakd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only one question remaining.. LGTM solution is far more simple than I thought. Nice work @Zegveld 👍
processor/src/main/java/org/mapstruct/ap/internal/model/common/Type.java
Show resolved
Hide resolved
…o format javadoc for 'ResolvedPair resolveParameterToType(Type declared, Type parameterized)'.
|
I haven't reviewed the PR fully yet. However, I tried it for the example in #3163 and it isn't working as expected. We should investigate whether this should also fix that. |
I'll take a look at it. |
…f wildcard information for checking assignability.
|
It seems to be a different problem. I've added the fix here, but perhaps it should be a separate PR. |
I see. Indeed it does make sense to put the fix in a separate PR. I initially thought that it is the same root cause (I didn't really try it out) |
Was doing a lot of generics stuff lately, so figured I'd also give this one a try.
Debugging I noticed that it did the second match check with the
sourceTypethat had the unconverted genericT.Figured I'd give it a shot at replacing this generic to get successful matching going.
closes #2663