Commit 00df4ba6 authored by gsamain's avatar gsamain Committed by Xavier Thompson

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

parent 4e6be7e7
......@@ -6050,7 +6050,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