diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2024-02-16 11:25:32 +0000 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2024-02-16 11:26:35 +0000 |
| commit | e6cf3ce24c42d4a2dffd4f0204a22a31eef3c562 (patch) | |
| tree | eaa21f0a22f03d595151edc806d7120d8f5e0074 /lib/std/json/stringify.zig | |
| parent | 260c84535546c81028cf42f1eb6ec9f17275db0f (diff) | |
| download | zig-e6cf3ce24c42d4a2dffd4f0204a22a31eef3c562.tar.gz zig-e6cf3ce24c42d4a2dffd4f0204a22a31eef3c562.zip | |
Sema: correct source location for return value coercion errors
When coercing the operand of a `ret_node` etc instruction, the source
location for errors used to point to the entire `return` statement.
Instead, we now point to the operand, as would be expected if there was
an explicit `as_node` instruction (like there used to be).
Diffstat (limited to 'lib/std/json/stringify.zig')
0 files changed, 0 insertions, 0 deletions
