diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-02-22 11:47:22 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-02-22 22:47:32 -0500 |
| commit | 220f80e71dbcb9dac4ed71845573a95b75299e4c (patch) | |
| tree | d9ea138fd8c4c56284ad4cb767afb2b07077f3bd /src/Value.zig | |
| parent | 4b0f77cc1f2f4939c59e92175f6e69394eb3bcef (diff) | |
| download | zig-220f80e71dbcb9dac4ed71845573a95b75299e4c.tar.gz zig-220f80e71dbcb9dac4ed71845573a95b75299e4c.zip | |
Dwarf: fix lowering of comptime-only optional pointer `null` values
Closes #22974
Diffstat (limited to 'src/Value.zig')
| -rw-r--r-- | src/Value.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Value.zig b/src/Value.zig index f9f552aa0f..be2c73c3e9 100644 --- a/src/Value.zig +++ b/src/Value.zig @@ -3690,7 +3690,7 @@ pub const generic_poison_type: Value = .{ .ip_index = .generic_poison_type }; pub const empty_tuple: Value = .{ .ip_index = .empty_tuple }; pub fn makeBool(x: bool) Value { - return if (x) Value.true else Value.false; + return if (x) .true else .false; } /// `parent_ptr` must be a single-pointer to some optional. |
