diff options
| author | Robin Voetter <robin@voetter.nl> | 2021-08-25 03:44:43 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-08-27 18:53:03 -0400 |
| commit | cfae70ec8e736af3fcd465c78bd80e160968eea8 (patch) | |
| tree | 04e5925f0ee0d8485644f58ff0f99f492065c232 /src/target.zig | |
| parent | 3aa533519da073695a56a56159b7ea3c487fb1b2 (diff) | |
| download | zig-cfae70ec8e736af3fcd465c78bd80e160968eea8.tar.gz zig-cfae70ec8e736af3fcd465c78bd80e160968eea8.zip | |
Make slice always return a reference
Previously this returned an rvalue, which leads to unexpected behaviour
when writing expressions such as `x[1..][1..].`
Diffstat (limited to 'src/target.zig')
0 files changed, 0 insertions, 0 deletions
