Skip to content

Commit

Permalink
Eliminate another stray current_node argument
Browse files Browse the repository at this point in the history
  • Loading branch information
reuterbal committed May 4, 2023
1 parent 0ee8301 commit 9cef8f4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions loki/expression/expr_visitors.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,6 @@ def visit(self, o, *args, **kwargs):
Default visitor method that dispatches the node-specific handler
"""
kwargs.setdefault('scope', None)
if isinstance(o, Node):
kwargs['current_node'] = o
return super().visit(o, *args, **kwargs)

def visit_Expression(self, o, **kwargs):
Expand Down

0 comments on commit 9cef8f4

Please sign in to comment.