End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
SyntaxSuggest::RipperErrors#compile_error
compile_error(msg)
lib/syntax_suggest/ripper_errors.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/syntax_suggest/ripper_errors.rb, line 16
def on_parse_error(msg)
@errors ||= []
@errors << msg
end
Alias of #on_parse_error
Comes from ripper, called on every parse error, msg is a string