Skip to content

lib: clean up strict aliasing fixes in array.h#5309

Merged
amaanq merged 2 commits intotree-sitter:masterfrom
amaanq:array-cleanup
Feb 8, 2026
Merged

lib: clean up strict aliasing fixes in array.h#5309
amaanq merged 2 commits intotree-sitter:masterfrom
amaanq:array-cleanup

Conversation

@amaanq
Copy link
Member

@amaanq amaanq commented Feb 8, 2026

Problem

In #5242, strict aliasing violations were fixed though there was this funky dance with a Swap struct that was unnecessary. This PR tidies it up a bit more.

@amaanq amaanq requested a review from WillLillis February 8, 2026 09:19
@amaanq
Copy link
Member Author

amaanq commented Feb 8, 2026

TLA+ is the only grammar that fails to compile with this change, which was a bug on their side. I've opened tlaplus-community/tree-sitter-tlaplus#143 to fix this.

@amaanq amaanq merged commit 22cda59 into tree-sitter:master Feb 8, 2026
30 of 34 checks passed
@clason clason added the ci:backport release-0.26 Backport label label Feb 8, 2026
@tree-sitter-ci-bot
Copy link

Successfully created backport PR for release-0.26:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants