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 new eval source location #200

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

casperisfine
Copy link

See https://bugs.ruby-lang.org/issues/19755
Ref: ruby/ruby#8070

In Ruby 3.3, using eval without providing a source location will now default to "(eval at #{__FILE__}:#{__LINE__})".

cc @schneems @nobu @hsbt

See https://bugs.ruby-lang.org/issues/19755

In Ruby 3.3, using `eval` without providing a source location
will now default to `"(eval at #{__FILE__}:#{__LINE__})"`.
@casperisfine casperisfine force-pushed the update-eval-location branch from 40ef63c to 8e50764 Compare July 17, 2023 15:38
@byroot byroot requested a review from schneems July 17, 2023 16:52
Copy link
Collaborator

@schneems schneems left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seems perfectly reasonable. Thank you for the patch. Looks good. Merging!

@schneems schneems merged commit cf791d1 into ruby:main Jul 20, 2023
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.

3 participants