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

Sema: add missing coercion to bool for condbr_inline #21422

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mlugg
Copy link
Member

@mlugg mlugg commented Sep 15, 2024

Also, start using labeled switch statements when dispatching maybe-runtime instructions like condbr to comptime-only variants like condbr_inline.

This can't be merged until we get a zig1.wasm update due to #21385.

Resolves: #21405

Also, start using labeled switch statements when dispatching
maybe-runtime instructions like condbr to comptime-only variants like
condbr_inline.

This can't be merged until we get a zig1.wasm update due to ziglang#21385.

Resolves: ziglang#21405
@mlugg mlugg marked this pull request as draft September 15, 2024 12:44
@mlugg
Copy link
Member Author

mlugg commented Sep 15, 2024

Canceled the workflow and marked PR as draft, since it can't merged until a zig1.wasm update, and it'd be silly to do one just for this.

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.

Invalid code compiles in comptime
1 participant