seattlerb/ruby_parser

ArgumentError on valid Ruby in ruby_parser 3.14.0

JacobEvelyn opened this issue · 1 comments

I believe I've found a regression in v3.14.0.

ruby_parser 3.14.0

RubyParser.new.parse 'puts `#{cmd}`'
ArgumentError (setting s(:array, s(:dxstr, "", s(:evstr, s(:call, nil, :cmd)))).line nil)

ruby_parser 3.13.1

RubyParser.new.parse 'puts `#{cmd}`'
=> s(:call, nil, :puts, s(:dxstr, "", s(:evstr, s(:call, nil, :cmd))))

Fixed. Thank you for the report.