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

Supertypes for java source use incorrect generics #3996

Open
juliamcclellan opened this issue Jan 15, 2025 · 0 comments · May be fixed by #3997
Open

Supertypes for java source use incorrect generics #3996

juliamcclellan opened this issue Jan 15, 2025 · 0 comments · May be fixed by #3997
Labels

Comments

@juliamcclellan
Copy link
Contributor

Sample java source:

class Bar<T> {}
public class Foo extends Bar<String> {}

The super class type of Foo should be Bar<String>, but the supertypes on the DClass for Foo instead includes the type Bar<T>, using the type parameter from the definition of Bar instead of the concrete type used in Foo's definition.

(This is handled correctly for kotlin source.)

@juliamcclellan juliamcclellan linked a pull request Jan 15, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant