about summary refs log blame commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-fail-outer-value-never-pointer-equal.nix
blob: a8c3cedf61d7f2d9a6853d2b9180355c55aa2570 (plain) (tree)
1
2
3
4
5
6
7






                                                                               
# For an explanation of this behavior see //tvix/docs/value-pointer-equality.md
let
  x = { foo = throw "foo"; };
in

# while `builtins.seq x null` would succeed, this fails!
x == x