Commit e93d3772 authored by Stefan Behnel's avatar Stefan Behnel

add safety fix for method dispatch visitor

parent 66bbffdd
......@@ -493,6 +493,8 @@ class MethodDispatcherTransform(EnvTransform):
return self._dispatch_to_handler(node, function, args, None)
def visit_PrimaryCmpNode(self, node):
if node.cascade:
return node # not currently handled below
return self._visit_binop_node(node)
def visit_BinopNode(self, node):
......
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