Skip to content

Commit

Permalink
Remove deadcode for RBI::Parser::TreeBuilder::visit_program_node
Browse files Browse the repository at this point in the history
  • Loading branch information
shopify-codedb[bot] committed Feb 23, 2025
1 parent 65dd068 commit 6941760
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/rbi/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -297,18 +297,6 @@ def visit_module_node(node)
@last_node = nil
end

# @override
#: (Prism::ProgramNode node) -> void
def visit_program_node(node)
@last_node = node
super
@tree.nodes.concat(current_sigs)
collect_orphan_comments
separate_header_comments
set_root_tree_loc
@last_node = nil
end

# @override
#: (Prism::SingletonClassNode node) -> void
def visit_singleton_class_node(node)
Expand Down

0 comments on commit 6941760

Please sign in to comment.