snix/tvix/eval/src/tests/tvix_tests/eval-okay-value-pointer-compare.nix
sterni 7bab0c26ee test(tvix/eval): verify pointer equality in list comparisons
Change-Id: I617d402c8ecc7aaf607c4bdcd58a06ebddb71fac
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7370
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: Adam Joseph <adam@westernsemico.com>
2022-12-02 14:06:22 +00:00

6 lines
No EOL
126 B
Nix

# For an explanation of this behavior see //tvix/docs/value-pointer-equality.md
let
f = owo: "thia";
in
[ f 42 ] > [ f 21 ]