Allow primery constructors on all partial delcarations as long as they exactly match #7998
Unanswered
alrz
asked this question in
Language Ideas
Replies: 1 comment 1 reply
-
When is that case? Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently modifiers and attribute, base list are merged, and generic constraints must match if present but primary constructors use a difference limitation. I think primary constructors could be consistent with generic constraints on this point, because it is sometimes useful to have either of them repeated in every part.
Beta Was this translation helpful? Give feedback.
All reactions