lang: funcs: simplepoly: Fix copy pasta error

Print the actual result.
This commit is contained in:
James Shubin
2023-06-27 18:49:00 -04:00
parent 8bc08d7716
commit f966b1ae6a

View File

@@ -590,7 +590,7 @@ func (obj *WrappedFunc) Stream() error {
return errwrap.Wrapf(err, "simple poly function errored") return errwrap.Wrapf(err, "simple poly function errored")
} }
if obj.init.Debug { if obj.init.Debug {
obj.init.Logf("Function returned with: %+v", values) obj.init.Logf("Function returned with: %+v", result)
} }
// TODO: do we want obj.result to be a pointer instead? // TODO: do we want obj.result to be a pointer instead?