Skip to content

Commit

Permalink
Remove deadcode for Spoom::Model::ReferencesVisitor::visit_block_argu…
Browse files Browse the repository at this point in the history
…ment_node
  • Loading branch information
shopify-codedb[bot] committed Mar 9, 2025
1 parent fec1cdf commit 1f9764b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/spoom/model/references_visitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,6 @@ def visit_and_node(node)
super
end

# @override
#: (Prism::BlockArgumentNode node) -> void
def visit_block_argument_node(node)
expression = node.expression
case expression
when Prism::SymbolNode
reference_method(expression.unescaped, expression)
else
visit(expression)
end
end

# @override
#: (Prism::CallAndWriteNode node) -> void
def visit_call_and_write_node(node)
Expand Down

0 comments on commit 1f9764b

Please sign in to comment.