about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-substring-coerce.nix
blob: 626ae1d1be55d8055bce86d2037b5bd3d7f32653 (plain) (blame)
1
2
3
4
5
# builtins.substring uses string coercion internally

builtins.substring 0 2 {
  __toString = _: "4200";
}