Commit ecdcf430 authored by Stefan Behnel's avatar Stefan Behnel

cleanup

parent 2350ce92
......@@ -3063,7 +3063,8 @@ class CascadedAssignmentNode(AssignmentNode):
def analyse_types(self, env, use_temp = 0):
self.rhs.analyse_types(env)
if use_temp and not self.rhs.is_simple():
if not self.rhs.is_simple():
if use_temp:
self.rhs = self.rhs.coerce_to_temp(env)
else:
self.rhs = self.rhs.coerce_to_simple(env)
......
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