tqchen opened a new pull request, #781: URL: https://github.com/apache/tvm-ffi/pull/781
StructuralMutate callbacks currently need a ternary to forward their in-place permission to default descent. Add `bool allow_inplace = true` to `DefaultMaybeInplaceMutateExpected`: false uses ordinary copy-on-write descent; true and omission preserve the existing behavior and ownership preconditions. Document the contract, simplify the relevant callback example, and cover explicit/omitted permission, shared aliases, recursion control, unchanged results, and errors. Validation: C++ Debug build; 72 structural tests passed (one pre-existing disabled test); changed-file checks passed. -- 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]
