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

Better instance_eval/instance_exec detection #2052

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Conversation

soutaro
Copy link
Member

@soutaro soutaro commented Oct 6, 2024

Related to #2025.

The instance_eval detection didn't work for the test code because the replaced self is equal to self outside the block. This PR introduces a new object dedicated to instance_eval detection. The new object is used only for this purpose, and thus the mis detection won't happen with this code.

@soutaro soutaro added this pull request to the merge queue Oct 7, 2024
Merged via the queue into master with commit 16c0232 Oct 7, 2024
18 checks passed
@soutaro soutaro deleted the instance-eval branch October 7, 2024 00:29
@soutaro soutaro added the Released PRs already included in the released version label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Released PRs already included in the released version
Development

Successfully merging this pull request may close these issues.

1 participant