Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
refaktor committed Jan 26, 2024
1 parent 7316193 commit b31f910
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions evaldo/builtins.go
Original file line number Diff line number Diff line change
Expand Up @@ -2774,11 +2774,10 @@ var builtins = map[string]*env.Builtin{
if ps.ErrorFlag {
return ps.Res
}
ps.Ser = ser
ps.Ser.Reset()
acc = ps.Res
}
ps.Ser = ser
return ps.Res
default:
return MakeArgError(ps, 3, []env.Type{env.BlockType}, "produce")
}
Expand Down

0 comments on commit b31f910

Please sign in to comment.