result code = -1 standard error = { tests/diagnostics/autodiff-data-flow-3.slang(16): error 41024: derivative is lost during assignment to non-differentiable location, use 'detach()' to clarify intention. obj.fp.f = x * x; // Error, this location cannot hold derivative. ^ tests/diagnostics/autodiff-data-flow-3.slang(37): error 41025: derivative is lost when passing a non-differentiable location to an `out` or `inout` parameter, consider passing a temporary variable instead. diffOut(obj.fp.f); // Error. ^ } standard output = { }