# langref: undefined \_is\_ materialized in all safe modes \(\#24107\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 173bc4274446a14aca2eea128b70b35b0ba18ebe

Requested commit: 173bc4274446a14aca2eea128b70b35b0ba18ebe

Commit: 173bc4274446a14aca2eea128b70b35b0ba18ebe

Tree: dd8012e109095c457d045e533d16532ac80fbd95

Author: Alex Kladov

Committer: GitHub

## Message

```
langref: undefined _is_ materialized in all safe modes (#24107)

* trailing whitespace

* langref: undefined _is_ materialized in all safe modes

I am also not super happy about the clause that immediately follows. I
_believe_ what we want to say here is that, simultaneously:

* undefined is guaranteed to be matrerialized in in all safe modes.
  A Zig implementation that elides `ptr.* = undefined` in ReleaseSafe
  mode would be a non-conforming implementation.
* A Zig program that relies on undefined being materialized is buggy.

But I don't think it's the time to engage this level of language-lawering!
```

## Parents

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

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