Add TODO
This commit is contained in:
parent
157c0bf217
commit
a960b6d3e7
@ -748,6 +748,7 @@ func (p *Parser) tryAssignmentExpression() (*Expression, error) {
|
||||
}
|
||||
|
||||
if *op != Operator_Equals {
|
||||
// TODO: incorrect, evaluates lhs twice
|
||||
operation := getOperation(*op)
|
||||
expr = &Expression{Type: Expression_Binary, Value: BinaryExpression{Left: *lhs, Right: *expr, Operation: operation}, Position: lhs.Position}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user