Skip to content
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

Implement **part of** approved suggestion: 'Merge fields of the same type **and name** on multi-case union structs' #15715

Closed
T-Gro opened this issue Jul 31, 2023 · 0 comments · Fixed by #15738
Assignees
Labels
Area-Compiler-CodeGen IlxGen, ilwrite and things at the backend Feature Request
Milestone

Comments

@T-Gro
Copy link
Member

T-Gro commented Jul 31, 2023

This is a tracking issue for planning purposes, to implement part of fsharp/fslang-suggestions#699 (comment) .

The full suggestion sets higher goals, therefore staling implementation and having several added concerns about limited support (generics,..), loss of debugging quality (field names) and other difficulties (e.g. sizeof being a runtime thing, not compile time).

Targeting fields with equal types and names would:

  • have 0 binary backwards compatibility issues, since those are not allowed as of now
  • maintain same debugging experience
  • lot less riskier to get in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compiler-CodeGen IlxGen, ilwrite and things at the backend Feature Request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant