Commit 511018bb authored by Stefan Behnel's avatar Stefan Behnel

provide *correct* type inference dependencies for ResultRefNode

parent e97ff803
......@@ -140,7 +140,7 @@ class ResultRefNode(AtomicExprNode):
def type_dependencies(self, env):
if self.expression:
return (self.expression,)
return self.expression.type_dependencies(env)
else:
return ()
......
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