Skip to content

Misc. union changes#81995

Merged
AlekseyTs merged 1 commit into
dotnet:features/Unionsfrom
AlekseyTs:Unions_10
Jan 14, 2026
Merged

Misc. union changes#81995
AlekseyTs merged 1 commit into
dotnet:features/Unionsfrom
AlekseyTs:Unions_10

Conversation

@AlekseyTs

Copy link
Copy Markdown
Contributor

No description provided.

diagnostics.Add(ErrorCode.ERR_NoNewAbstract, syntax.Location, analysis.Operator.ContainingType);
}

// PROTOTYPE: Any other validations to perform? Perhaps we should simply bind object creation, drop the node, but keep diagnostics.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required members? CompilerFeatureRequired on the constructor? Definitely seems like binding object creation would be the sensible way to handle this.

@AlekseyTs AlekseyTs requested a review from a team January 13, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants