ast: now supports espression forest (multi expressions)
This commit is contained in:
@@ -188,7 +188,7 @@ func (self *term) compute(ctx exprContext) (v any, err error) {
|
||||
|
||||
func (self *term) errIncompatibleTypes(leftValue, rightValue any) error {
|
||||
return fmt.Errorf(
|
||||
"left operand '%v' [%T] is not compatible with right operand '%v' [%T] with respect to operator %q",
|
||||
"left operand '%v' [%T] and right operand '%v' [%T] are not compatible with operator %q",
|
||||
leftValue, leftValue,
|
||||
rightValue, rightValue,
|
||||
self.source())
|
||||
|
||||
Reference in New Issue
Block a user