aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2020-03-08 19:48:35 +0100
committerAndrew Kelley <andrew@ziglang.org>2020-03-08 18:12:50 -0400
commit06d0dac0fb58c2d20036e34f5c1a1bc9c386c189 (patch)
treebe7a91b228dc4f385a9bce111857f905d7506af8 /lib/std/math.zig
parentf90fe1f8f2be6ffa1c19997d123e12310d9e04b5 (diff)
downloadzig-06d0dac0fb58c2d20036e34f5c1a1bc9c386c189.tar.gz
zig-06d0dac0fb58c2d20036e34f5c1a1bc9c386c189.zip
ir: Prevent crash in compiler error
Anonymous containers have no struct_field->type AstNode set, let's always use the field node itself to make the error messages consistent. Closes #4691
Diffstat (limited to 'lib/std/math.zig')
0 files changed, 0 insertions, 0 deletions