diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-02T20·44+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-08T12·53+0000 |
commit | 0c0ae50f024d48e9cc482dff164e5ba6bad4189d (patch) | |
tree | 83e61434fab8cc38a6bde5aecd292562206f2737 /tvix/proto | |
parent | 2246a31e726762ea741a299f598c7878fa66dd83 (diff) |
fix(tvix/eval): don't panic when printing a black hole r/4749
This could occur when the disassembler is enabled and tracing the runtime while a thunk is being evaluated, as it would not be possible for the *tracer* to borrow the thunk at this exact moment. However, we know that if the borrowing fails here we are dealing with a not-fully evaluated thunk (blackhole), which should just print the internal representation. Change-Id: I4bdb4f17818d55795368e3d28842048f488f0a91 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6416 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/proto')
0 files changed, 0 insertions, 0 deletions