diff --git a/lib/solargraph/parser/rubyvm/class_methods.rb b/lib/solargraph/parser/rubyvm/class_methods.rb index 0f47a8e02..01126abff 100644 --- a/lib/solargraph/parser/rubyvm/class_methods.rb +++ b/lib/solargraph/parser/rubyvm/class_methods.rb @@ -121,8 +121,6 @@ def string_ranges node if node.type == :STR result.push Range.from_node(node) elsif node.type == :DSTR - puts "First node: #{node.to_sexp}" - puts "Second node: #{node.children[1]}" here = Range.from_node(node) there = Range.from_node(node.children[1]) result.push Range.new(here.start, there&.start || here.ending) @@ -131,7 +129,6 @@ def string_ranges node result.concat string_ranges(child) end if node.type == :DSTR && node.children.last.nil? - # result.push Range.new(result.last.ending, result.last.ending) last = node.children[-2] unless last.nil? rng = Range.from_node(last)