Commit 460802bc authored by Robert Bradshaw's avatar Robert Bradshaw

fix for boolean optimization

parent 1634fc73
...@@ -4409,7 +4409,7 @@ class CoerceToPyTypeNode(CoercionNode): ...@@ -4409,7 +4409,7 @@ class CoerceToPyTypeNode(CoercionNode):
gil_message = "Converting to Python object" gil_message = "Converting to Python object"
def coerce_to_boolean(self, env): def coerce_to_boolean(self, env):
return self.arg.coerce_to_boolean(env) return self.arg.coerce_to_boolean(env).coerce_to_temp(env)
def analyse_types(self, env): def analyse_types(self, env):
# The arg is always already analysed # The arg is always already analysed
......
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