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 case when defined?(RubyVM.keep_script_lines) is false #1115

Closed
wants to merge 1 commit into from

Conversation

kddnewton
Copy link

When defined?(RubyVM.keep_script_lines) was true, orig_src would perform additional work of handling the start line, but in the branch where it was false this wasn't done. This commit changes orig_src to call into a private iseq_src method to get the source lines and then shares the start line work.

Copy link

launchable-app bot commented Aug 29, 2024

All Tests passed!

✖️no tests failed ✔️668 tests passed(2 flakes)

@kddnewton kddnewton closed this Aug 29, 2024
@kddnewton kddnewton deleted the handle-non-rubyvm-keep-script-lines branch August 29, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant