termo.go: changed the name of a variable

This commit is contained in:
Celestino Amoroso 2024-04-27 09:48:05 +02:00
parent 9ce6b7255b
commit 824b9382be

View File

@ -217,9 +217,9 @@ func (self *term) evalInfix(ctx ExprContext) (leftValue, rightValue any, err err
return
}
func (self *term) evalPrefix(ctx ExprContext) (rightValue any, err error) {
func (self *term) evalPrefix(ctx ExprContext) (childValue any, err error) {
if err = self.checkOperands(); err == nil {
rightValue, err = self.children[0].compute(ctx)
childValue, err = self.children[0].compute(ctx)
}
return
}