difftreelog
fix(stdlib) std.trace should be lazy
in: master
1 file changed
crates/jrsonnet-stdlib/src/lib.rsdiffbeforeafterboth383 s: State,383 s: State,384 loc: CallLocation,384 loc: CallLocation,385 str: IStr,385 str: IStr,386 rest: Any,386 rest: Thunk<Val>,387) -> Result<Any> {387) -> Result<Any> {388 this.settings388 this.settings389 .borrow()389 .borrow()390 .trace_printer390 .trace_printer391 .print_trace(s, loc, str);391 .print_trace(s.clone(), loc, str);392 Ok(rest) as Result<Any>392 Ok(Any(rest.evaluate(s)?))393}393}394394395#[builtin]395#[builtin]