chore(tvix/eval): implement improved Display for internal values
Having these visible more explicitly is useful while debugging. Change-Id: I86b497883063d32792b635eb4514b7aeae484af4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6164 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
dd8f5f1dc8
commit
f331874aeb
1 changed files with 2 additions and 1 deletions
|
@ -116,7 +116,8 @@ impl Display for Value {
|
|||
)),
|
||||
|
||||
// internal types
|
||||
Value::AttrPath(_) | Value::Blackhole => f.write_str("internal"),
|
||||
Value::AttrPath(_) => f.write_str("internal<attrpath>"),
|
||||
Value::Blackhole => f.write_str("internal<blackhole>"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue