Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::MutationCompiler#visit_constant_path_node
visit_constant_path_node(node)
lib/prism/mutation_compiler.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/mutation_compiler.rb, line 195
def visit_constant_path_node(node)
node.copy(parent: visit(node.parent))
end
Copy a ConstantPathNode node