Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::Pattern#compile_error
compile_error(node)
lib/prism/pattern.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/prism/pattern.rb, line 106
def compile_error(node)
raise CompilationError, node.inspect
end
Raise an error because the given node is not supported.