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

explain union behavior in writing #507

Conversation

nefelitav
Copy link
Contributor

I think it is important to explain this behavior of unions, that when writing to one field, the others are overwritten. I couldn't see it mentioned somewhere.

@Veykril
Copy link
Member

Veykril commented Jul 1, 2024

this is already described in https://spec.ferrocene.dev/types-and-traits.html#fls_gt3tkbn4bsa6

@Veykril Veykril closed this Aug 29, 2024
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.

2 participants