aboutsummaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2022-03-23 09:40:29 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-23 17:08:08 -0400
commita36f4ee290fa9f3f1515e8aa9bd2bb0f0117c505 (patch)
tree48684ef68021b319f9ed9844c5222e998a21b9e5 /src/arch
parentf27d3409bdbe4a2b1b59f0b7336e582488e35986 (diff)
downloadzig-a36f4ee290fa9f3f1515e8aa9bd2bb0f0117c505.tar.gz
zig-a36f4ee290fa9f3f1515e8aa9bd2bb0f0117c505.zip
stage2: able to slice to sentinel index at comptime
The runtime behavior allowed this in both stage1 and stage2, but stage1 fails with index out of bounds during comptime. This behavior makes sense to support, and comptime behavior should match runtime behavior. I implement this fix only in stage2.
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions