test/testdata/lsp/completion/locals.rb
# We don't look at which locals are actually in scope (and have no plans to)
We don't look at which locals are actually in scope (and have no plans to)
We don ' t look at which locals are actually in scope ( and have no plans to )
def before_after
  x_1 = nil
  x_ 
  x_2 = 1
end
def before_after x_1 = nil x_ x_2 = 1 end
We don't look at which locals are actually in scope (and have no plans to)
We don ' t look at which locals are actually in scope ( and have no plans to )
# error: does not exist # ^ completion: x_1, x_2