Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle YARD crashing #1811

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Handle YARD crashing #1811

merged 1 commit into from
Feb 29, 2024

Conversation

kddnewton
Copy link
Contributor

Motivation

YARD is crashing trying to parse certain sources (lsegal/yard#1536).

Implementation

Rescue the RangeError and keep going.

Tests

No tests, because I'm hoping this gets resolved quickly on YARD's side, but even if it doesn't it's pretty minimal.

@kddnewton kddnewton requested a review from a team as a code owner February 29, 2024 02:56
@paracycle paracycle merged commit e34b107 into main Feb 29, 2024
31 of 35 checks passed
@paracycle paracycle deleted the range-error branch February 29, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants