Skip to content

Conversation

@enebo
Copy link
Member

@enebo enebo commented Jan 5, 2025

This fix prevents the crash but the last source line output it gives does not match Ruby 3.1. It does give the proper error message so this should not be confusing.

The reason for not fixing this is this output method is already not quite right in a couple of ways and the Prism parser is the future of our parsing. Fixing the crash does give the important error line saying what is wrong so anyone who hits this will know what is wrong.

@enebo enebo added this to the JRuby 9.4.10.0 milestone Jan 5, 2025
@enebo enebo merged commit 97d04a0 into jruby:master Jan 17, 2025
94 of 95 checks passed
@enebo
Copy link
Member Author

enebo commented Jan 17, 2025

Fixes #8355

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant