whitequark / parser

A Ruby parser.
Other
1.57k stars 197 forks source link

ruby/ruby@92b10f5 #958

Closed iliabylich closed 8 months ago

iliabylich commented 8 months ago

https://github.com/ruby/ruby/commit/92b10f5be7453aceb5863e46ac775a4ddbf83b97

iliabylich commented 8 months ago

parser never had this bug:

$ bin/ruby-parse --33 -e 'proc {_1;def foo();end;_1}'
(numblock
  (send nil :proc) 1
  (begin
    (lvar :_1)
    (def :foo
      (args) nil)
    (lvar :_1)))

Closing, we don't backport bugs.