2fe18e4486
Nix's `builtins.substring`: - doesn't accept negative indexes for `beg` or `end`. Compare the error messages for: - `builtins.substring -3 5 "testing"` - `builtins.substring 3 -5 "testing"` - `builtins.substring -3 -5 "testing"` - returns an empty string when `beg >= end` - allows `end` to exceed the length of the input string Change-Id: I83af7a099d81b6d537ebe5029d946c7031cb7113 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6555 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI |
||
---|---|---|
.. | ||
builtins | ||
compiler | ||
tests | ||
value | ||
chunk.rs | ||
errors.rs | ||
eval.rs | ||
lib.rs | ||
main.rs | ||
observer.rs | ||
opcode.rs | ||
properties.rs | ||
test_utils.rs | ||
upvalues.rs | ||
vm.rs | ||
warnings.rs |