You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change NativeFunction error type from String to VmError
NativeFunction.func now returns Result<Value, VmError> instead of
Result<Value, String>. VmError carries an optional span so errors from
HOF callbacks (e.g. a failing lambda inside map) preserve the inner
span rather than collapsing to the call site. The VM fills in the
call-site span only when the error arrives without one.
Also extracts VmError into ndc_vm/src/error.rs to break the circular
dependency between value.rs and vm.rs, and removes the now-unused
attach_vm_native_hof helper.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
0 commit comments