Skip to content

Allow derived record members with covariant properties #9030

Discussion options

You must be logged in to vote

I don't understand how this would work. What would the following compile down to: R r = new R1(); r with { Prop = 4 }?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@333fred
Comment options

@alrz
Comment options

Answer selected by alrz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants