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: disallow discard as errdefer capture #21368

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

WillLillis
Copy link
Contributor

Closes #20370

lib/std/zig/AstGen.zig Outdated Show resolved Hide resolved
@andrewrk andrewrk merged commit 37cd21e into ziglang:master Sep 24, 2024
10 checks passed
@WillLillis WillLillis deleted the errdefer_discard branch September 24, 2024 21:01
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.

_ allowed as an errdefer capture assigning it to @"_" rather than discarding
3 participants