new operator 'join'
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@ import (
|
||||
"io"
|
||||
)
|
||||
|
||||
//-------- map term
|
||||
//-------- digest term
|
||||
|
||||
func newDigestTerm(tk *Token) (inst *term) {
|
||||
return &term{
|
||||
@@ -35,7 +35,7 @@ func evalDigest(ctx ExprContext, opTerm *term) (v any, err error) {
|
||||
}
|
||||
|
||||
if it, err = NewIterator(leftValue); err != nil {
|
||||
return nil, fmt.Errorf("left operand of MAP must be an iterable data-source; got %s", TypeName(leftValue))
|
||||
return nil, fmt.Errorf("left operand of DIGEST must be an iterable data-source; got %s", TypeName(leftValue))
|
||||
}
|
||||
|
||||
lastValue = nil
|
||||
|
||||
Reference in New Issue
Block a user