Skip to content

Conversation

@mateusz834
Copy link
Contributor

@mateusz834 mateusz834 commented Nov 7, 2025

This fixes a bug, endless loop in AstGen.

@mateusz834 mateusz834 force-pushed the fix-endless-loop-astgen branch 2 times, most recently from 98e303d to 8750166 Compare November 7, 2025 11:12
@mateusz834 mateusz834 marked this pull request as ready for review November 7, 2025 11:12
@alexrp alexrp requested a review from mlugg November 8, 2025 10:01
@mlugg
Copy link
Member

mlugg commented Nov 10, 2025

The bugfix looks fine, but I don't really like the second commit; I disagree that it's a simplification and I think it makes the logic read worse. If you drop the second commit I'll be happy to merge the first as-is.

Copy link
Member

@mlugg mlugg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see above comment)

This fixes an endless loop in the compiler.
@mateusz834 mateusz834 force-pushed the fix-endless-loop-astgen branch from 8750166 to 8f07a60 Compare November 10, 2025 13:23
@mateusz834 mateusz834 requested a review from mlugg November 10, 2025 13:23
@mateusz834
Copy link
Contributor Author

@mlugg updated

@mlugg mlugg merged commit d942f69 into ziglang:master Nov 10, 2025
2 of 9 checks passed
@mlugg
Copy link
Member

mlugg commented Nov 10, 2025

Thanks!

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