aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-02-16 11:25:32 +0000
committermlugg <mlugg@mlugg.co.uk>2024-02-16 11:26:35 +0000
commite6cf3ce24c42d4a2dffd4f0204a22a31eef3c562 (patch)
treeeaa21f0a22f03d595151edc806d7120d8f5e0074 /lib
parent260c84535546c81028cf42f1eb6ec9f17275db0f (diff)
downloadzig-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')
0 files changed, 0 insertions, 0 deletions