# Sema: add missing coercion to bool for condbr_inline · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/05b445a276536f6d62c20786d816f9f6444d20d8)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 05b445a276536f6d62c20786d816f9f6444d20d8

Requested commit: 05b445a276536f6d62c20786d816f9f6444d20d8

Commit: 05b445a276536f6d62c20786d816f9f6444d20d8

Tree: b68085bc0ea55e0816018a70c726ba1a0aa5c663

Author: mlugg

Committer: Matthew Lugg

## Message

```
Sema: add missing coercion to bool for condbr_inline

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

```

## Parents

- [e9f3d18b57d973b795354dab8541ea2c4277d022](https://git.cafe/gitcafe/zig/commit/e9f3d18b57d973b795354dab8541ea2c4277d022?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/05b445a276536f6d62c20786d816f9f6444d20d8?format=markdown)
