Skip to content

Sema: don't require else prong for switch on type void#25727

Closed
rmehri01 wants to merge 1 commit intoziglang:masterfrom
rmehri01:switch_on_void_without_else
Closed

Sema: don't require else prong for switch on type void#25727
rmehri01 wants to merge 1 commit intoziglang:masterfrom
rmehri01:switch_on_void_without_else

Conversation

@rmehri01
Copy link

Closes #25644

@alexrp alexrp requested a review from mlugg October 28, 2025 18:14
@mlugg
Copy link
Member

mlugg commented Jan 11, 2026

This patch was fine, very sorry I never got to it---it's now superseded by https://codeberg.org/ziglang/zig/pulls/30776. Thank you!

@mlugg mlugg closed this Jan 11, 2026
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.

error: else prong required when switching on type 'void'

2 participants