Skip to content

Ruby: Refactor call graph logic for singleton methods #10910

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

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Oct 20, 2022

Refactored to follow the same pattern as for singleton methods. This allows for subsequent similar call-context-sensitive singleton resolution (follow-up PR), and may as well reduce tuple duplication (the same method may otherwise be looked up in many sub classes).

DCA confirms no changes to the call graph.

@github-actions github-actions bot added the Ruby label Oct 20, 2022
@hvitved hvitved force-pushed the ruby/call-graph-refactor branch from 52edf12 to db699ae Compare October 21, 2022 05:28
@hvitved hvitved marked this pull request as ready for review October 21, 2022 05:28
@hvitved hvitved requested a review from a team as a code owner October 21, 2022 05:28
@hvitved hvitved added the no-change-note-required This PR does not need a change note label Oct 21, 2022
Copy link
Contributor

@asgerf asgerf left a comment

Choose a reason for hiding this comment

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

👍

@hvitved hvitved merged commit cf35299 into github:main Oct 21, 2022
@hvitved hvitved deleted the ruby/call-graph-refactor branch October 21, 2022 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note Ruby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants