Skip to content

Java compiler: Output generic types for inherited classes#139

Open
mclements wants to merge 3 commits intoMercury-Language:masterfrom
mclements:master
Open

Java compiler: Output generic types for inherited classes#139
mclements wants to merge 3 commits intoMercury-Language:masterfrom
mclements:master

Conversation

@mclements
Copy link
Contributor

In Java, the "extends" clause should include generic types to avoid unchecked conversion warnings. This pull request adds those generic types.

This pull request does not address the issue that "new" Java values for Mercury types with generic types also require those types be specified.

--- Mark

@mclements
Copy link
Contributor Author

Would someone be able to check this pull request, please?

@wangp
Copy link
Member

wangp commented Feb 3, 2026

It looks fine except for some indentation. Can you paste an example where this helps?

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.

2 participants