Commit 51504963 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Cpp: Fix InPlaceAssignmentNode: create a binop node with the inplace flag set

parent 190d9e2f
......@@ -6079,7 +6079,7 @@ class InPlaceAssignmentNode(AssignmentNode):
def create_binop_node(self):
from . import ExprNodes
return ExprNodes.binop_node(self.pos, self.operator, self.lhs, self.rhs)
return ExprNodes.binop_node(self.pos, self.operator, self.lhs, self.rhs, inplace=True)
class PrintStatNode(StatNode):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment