lib/dead_end/code_search.rb
def expand_invalid_block
      block = frontier.pop
      return unless block

      record(block: block, name: "pop")

      # block = block.expand_until_next_boundry
      block = @block_expand.call(block)
      push(block, name: "expand")
    end
# Given an already existing block in the frontier, expand it to see
# if it contains our invalid syntax
Given an already existing block in the frontier, expand it to see
if it contains our invalid syntax
Given an already existing block in the frontier expand it to see if it contains our invalid syntax
def expand_invalid_block
      block = frontier.pop
      return unless block
      record(block: block, name: "pop")
      block = @block_expand.call(block)
      push(block, name: "expand")
    end
def expand_invalid_block block = frontier . pop return unless block record ( block : block , name : "pop" ) block = @block_expand . call ( block ) push ( block , name : "expand" ) end
Given an already existing block in the frontier, expand it to see
if it contains our invalid syntax
Given an already existing block in the frontier expand it to see if it contains our invalid syntax
# block = block.expand_until_next_boundry