Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Detect self-referential initializers#241

Merged
Vexu merged 2 commits into
mainfrom
self-reference
Nov 26, 2025
Merged

Detect self-referential initializers#241
Vexu merged 2 commits into
mainfrom
self-reference

Conversation

@Vexu
Copy link
Copy Markdown
Member

@Vexu Vexu commented Nov 23, 2025

Closes #223

@steeve
Copy link
Copy Markdown
Contributor

steeve commented Nov 24, 2025

very cool! little nitpick: it generates a var instead of a const so perhaps this has some implications ?

@Vexu
Copy link
Copy Markdown
Member Author

Vexu commented Nov 25, 2025

It shouldn't be a problem.

@Vexu Vexu merged commit 683a7da into main Nov 26, 2025
3 checks passed
@Vexu Vexu deleted the self-reference branch November 26, 2025 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

reference to declaration through sizeof in initializer causes undeclared identifier

2 participants