Skip to content

Commit

Permalink
Update compiler/semantic/op.go
Browse files Browse the repository at this point in the history
Co-authored-by: Noah Treuhaft <[email protected]>
  • Loading branch information
mattnibs and nwt authored Oct 17, 2023
1 parent 5f8979d commit 05632c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/semantic/op.go
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ func (a *analyzer) semOpAssignment(p *ast.OpAssignment) (dag.Op, error) {
}
if _, ok := a.RHS.(*dag.Agg); ok {
if _, ok := a.LHS.(*dag.This); !ok {
return nil, errors.New("summarize: illegal use of dynamic assignment in aggregation")
return nil, errors.New("summarize: aggregate output field must be static")
}
aggs = append(aggs, a)
} else {
Expand Down

0 comments on commit 05632c2

Please sign in to comment.