style(tvix/eval): display Display
representation of runtime values
Change-Id: Ifbe05c2da9493c9e132a2d2e94a451d6091542a5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6096 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
910336c68c
commit
72863d81fc
1 changed files with 1 additions and 1 deletions
|
@ -16,5 +16,5 @@ pub fn interpret(code: String) -> EvalResult<String> {
|
|||
println!("code: {:?}", code);
|
||||
|
||||
let value = crate::vm::run_chunk(code)?;
|
||||
Ok(format!("value: {:?}", value))
|
||||
Ok(format!("value: {} :: {}", value, value.type_of()))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue