# Sema: fix not propagating want_safety in zirBlock · gitcafe/zig

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

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

Visibility: public

Requested revision: 6c51c8e131b0bad77f199176dfc186b92768f296

Requested commit: 6c51c8e131b0bad77f199176dfc186b92768f296

Commit: 6c51c8e131b0bad77f199176dfc186b92768f296

Tree: 4156a53908162e1ceabc30b1e8fabb364e87b660

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: fix not propagating want_safety in zirBlock

Before this commit, `@setRuntimeSafety()` has no effect inside an if
expression.

```

## Parents

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

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