aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorMichael Dusan <michael.dusan@gmail.com>2021-01-18 00:36:37 -0500
committerVeikka Tuominen <git@vexu.eu>2021-01-30 11:19:25 +0200
commitf9b85c6e50e22153aff4c87e2ba943d68f24ee8c (patch)
tree0a5825a3c0f930f80f08f596c6f1750d57366252 /src/Module.zig
parent3d4eeafb47f97e5057d36fe2c3ed061cf0c70a63 (diff)
downloadzig-f9b85c6e50e22153aff4c87e2ba943d68f24ee8c.tar.gz
zig-f9b85c6e50e22153aff4c87e2ba943d68f24ee8c.zip
stage1: add error for slice.len incr beyond bounds
comptime direct slice.len increment dodges bounds checking but we can emit an error for it, at least in the simple case. - promote original assert to compile-error - add test case closes #7810
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions