whitequark / parser

A Ruby parser.
Other
1.59k stars 199 forks source link

add tests for `class/module <keyword> ...` definition. #875

Closed iliabylich closed 2 years ago

iliabylich commented 2 years ago

This commit tracks upstream commit ruby/ruby@685efac.

I'm not going to break it for old Rubies, if your code relies on this incorrect behaviour of Ruby < 3.2 feel free to send a PR.

Closes https://github.com/whitequark/parser/issues/859.