Skip to content
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

Correctly map generic return and parameter types in JavaReflectionTypeMapping #4812

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

jkschneider
Copy link
Member

What's changed?

A small fix to JavaReflectionTypeMapping

What's your motivation?

Part of the work towards automated compilation verification as a post-recipe task.

Any additional context

Previously, generic type variables in return types would always be mapped to an unbounded generic named T.

Checklist

  • I've added unit tests to cover both positive and negative cases

@jkschneider jkschneider added the bug Something isn't working label Dec 24, 2024
@jkschneider jkschneider merged commit ef0f845 into main Dec 24, 2024
1 of 2 checks passed
@jkschneider jkschneider deleted the java-reflect-generic-return-type-mapping branch December 24, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant