lsegal / yard

YARD is a Ruby Documentation tool. The Y stands for "Yay!"
http://yardoc.org
MIT License
1.95k stars 398 forks source link

Support beginless and endless ranges in parser #1549

Open stackmystack opened 3 months ago

stackmystack commented 3 months ago

Description

Fixes https://github.com/lsegal/yard/issues/1521.

Avoid errors like:

  `first': cannot get the first element of beginless range

Completed Tasks

stackmystack commented 2 months ago

Hello, Could you please allow the tests to run again? I fixed them on my branch, and it should work everywhere else.

PS:

In the CI run, runners on macOS+amd64 and ruby < 2.6 do not work. You should remove them I guess?