about summary refs log tree commit diff
path: root/tvix/eval/src/value/mod.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-03-03T19·54+0300
committertazjin <tazjin@tvl.su>2023-03-13T20·30+0000
commit54a12577c4e31367529626096d9a749a9b301690 (patch)
tree05dde0fdef4ffd84e9b777b1e99f9f774d70e673 /tvix/eval/src/value/mod.rs
parentd9371c2f6f1293b44defcff95cad91c37dea65d1 (diff)
refactor(tvix/eval): print only *types* when observing generators r/5974
Do not print the entire value (they're likely to be thunks anyways).
This is useful because there *can* be cases where something like
`nixpkgs` itself is sent through one of these messages, in which case
the observer trying to print it will just blow up.

Change-Id: I1fa37ea071d75efa0eb3428c6e2fe4351c62be6b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8202
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'tvix/eval/src/value/mod.rs')
0 files changed, 0 insertions, 0 deletions