aboutsummaryrefslogtreecommitdiff
path: root/deps/lld/ELF/LinkerScript.cpp
diff options
context:
space:
mode:
authorMatthew D. Steele <mdsteele@alum.mit.edu>2018-08-03 11:44:39 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-08-03 11:44:39 -0400
commitc2a08d7c516899b4c794bd6c3fc07ddb22d5876a (patch)
treed5c286e30ac12b3c4d775c3c4a830b4f2bb1da79 /deps/lld/ELF/LinkerScript.cpp
parent298abbcff86629273f24891d243fb6e503392e8f (diff)
downloadzig-c2a08d7c516899b4c794bd6c3fc07ddb22d5876a.tar.gz
zig-c2a08d7c516899b4c794bd6c3fc07ddb22d5876a.zip
Fix the start-less-than-end assertion in std.rand.Random.range (#1325)
The function returns a value in [start, end), but was asserting start <= end instead of start < end. With this fix, range(1, 1) will now assertion error instead of dividing by zero.
Diffstat (limited to 'deps/lld/ELF/LinkerScript.cpp')
0 files changed, 0 insertions, 0 deletions