diff --git a/lib/yard-sorbet/node_utils.rb b/lib/yard-sorbet/node_utils.rb index 4d9632ea..071fe1dd 100644 --- a/lib/yard-sorbet/node_utils.rb +++ b/lib/yard-sorbet/node_utils.rb @@ -22,7 +22,7 @@ def self.bfs_traverse(node, &_blk) queue = Queue.new queue.push(node) until queue.empty? - n = queue.shift(true) + n = queue.shift yield n enque_children(queue, n) end