Skip to content

Fix #8042: add forgotten Java constructor type params #8075

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

Merged
merged 1 commit into from
Jan 23, 2020

Conversation

liufengyun
Copy link
Contributor

Fix #8042: add forgotten Java constructor type params

For primary constructor, we always add the class parameters
during parsing. For secondary constructors, we add class parameters
during desugaring.

This is a blocker for #8040, where we need to add a such a test case as Java code.

For primary constructor, we always add the class parameters
during parsing. For secondary constructors, we add class parameters
during desugaring.
@liufengyun liufengyun requested a review from odersky January 22, 2020 22:03
@nicolasstucki nicolasstucki merged commit 899c59b into scala:master Jan 23, 2020
@nicolasstucki nicolasstucki deleted the fix-8042 branch January 23, 2020 07:32
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.

Dotty does not recognize polymorphic constructor in Java
2 participants