context.go: setVar() renamed as UnsafeSetVar()

This commit is contained in:
2024-05-19 01:27:44 +02:00
parent 9bd4a0ba23
commit 4d43ab2c2f
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func evalAssign(ctx ExprContext, self *term) (v any, err error) {
}
ctx.RegisterFunc(leftTerm.source(), functor, minArgs, maxArgs)
} else {
ctx.setVar(leftTerm.source(), v)
ctx.UnsafeSetVar(leftTerm.source(), v)
}
}
return