about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-fail-builtins-tojson-tostring-notcallable.nix
# attribute sets with a non-callable `__toString` can not be
# serialised to JSON.
builtins.toJSON {
  __toString = 42;
}