Skip to content

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