diff options
| author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2022-03-23 09:40:29 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-03-23 17:08:08 -0400 |
| commit | a36f4ee290fa9f3f1515e8aa9bd2bb0f0117c505 (patch) | |
| tree | 48684ef68021b319f9ed9844c5222e998a21b9e5 /src/Module.zig | |
| parent | f27d3409bdbe4a2b1b59f0b7336e582488e35986 (diff) | |
| download | zig-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/Module.zig')
0 files changed, 0 insertions, 0 deletions
