tqchen opened a new pull request, #787: URL: https://github.com/apache/tvm-ffi/pull/787
Add `const &` and `&&` overloads of `Expected<T>::as_or_error<U>()` for strict narrowing while preserving existing errors. Accepted values reuse their FFI storage; mismatches return `TypeError` without fallback conversion. The lvalue overload copies storage and preserves its source, while the rvalue overload moves storage. Targets follow owning FFI storage constraints. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
