We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 558a598 commit 108c504Copy full SHA for 108c504
lib/ruby_lsp/requests/support/common.rb
@@ -26,7 +26,7 @@ def range_from_syntax_tree_node(node)
26
params(node: T.any(SyntaxTree::ConstPathRef, SyntaxTree::ConstRef, SyntaxTree::TopConstRef)).returns(String)
27
end
28
def full_constant_name(node)
29
- name = +node.constant.value
+ name = node.constant.value.dup
30
constant = T.let(node, SyntaxTree::Node)
31
32
while constant.is_a?(SyntaxTree::ConstPathRef)
0 commit comments