Skip to content

Conversation

@hubert-reinterpretcast
Copy link
Contributor

Anonymous union members are not introduced by member-declarator.

Fixes #4939.

…nion members

Anonymous union members are not introduced by _member-declarator_.

Fixes cplusplus#4939.
@eisenwave eisenwave added the P1-Important Misapplication of paper, malformed code, internal inconsistencies label Nov 11, 2025
@eisenwave
Copy link
Member

Tbh I don't see how changing the definition of "data member" is editorial, but the fix is relatively obvious, and Jens already suggested to do that in #4939 without marking the issue not-editorial.

@tkoeppe tkoeppe requested a review from jensmaurer November 11, 2025 09:55
@tkoeppe
Copy link
Contributor

tkoeppe commented Nov 11, 2025

Thanks, @hubert-reinterpretcast! Let's give Jens a final chance to take a look.

@tkoeppe tkoeppe merged commit e6150e3 into cplusplus:main Nov 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P1-Important Misapplication of paper, malformed code, internal inconsistencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

An anonymous union member is not a non-static data member on grammar

4 participants