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

fix #19266; allow reassign discriminant field #19567

Merged
merged 2 commits into from
Feb 25, 2022
Merged

Conversation

ringabout
Copy link
Member

fix #19266

It unblocks #19510

ref nim-lang/RFCs#407

@Araq Araq merged commit 9c17a32 into nim-lang:devel Feb 25, 2022
@metagn
Copy link
Collaborator

metagn commented Feb 26, 2022

Should this be backported?

PMunch pushed a commit to PMunch/Nim that referenced this pull request Mar 28, 2022
* add inUncheckedAssignSection

* add one more test
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.

Manual example: {.cast(uncheckedAssign).} assignment to discriminator produces [FieldDefect]
3 participants