Skip to content

Commit

Permalink
first gotta update version!
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonak-Adipta-Kalita committed Sep 11, 2023
1 parent 547cb1c commit 6d3b126
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions evaluator/evaluator.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ func evalInfixExpression(
left, right object.Object,
token token.Token,
) object.Object {
// arithmaticEqualOperators := []string{"+=", "-=", "*=", "/="}

switch {
case left.Type() == object.INTEGER_OBJ && right.Type() == object.INTEGER_OBJ:
return evalIntegerInfixExpression(operator, left, right, token)
Expand Down

0 comments on commit 6d3b126

Please sign in to comment.