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

Fix call-seq for aliased method with similar names #897

Merged
merged 1 commit into from Jul 18, 2022

Conversation

peterzhu2118
Copy link
Member

deduplicate_call_seq has a bug that skips call-seq for methods where the alias is a prefix of the method name. For example, if the alias name is "each" and the current method name is "each_line", then deduplicate_call_seq will skip all call-seq for "each_line" since it will believe that it is for the alias.

Before:

Screen Shot 2022-07-15 at 5 43 14 PM

After:

Screen Shot 2022-07-15 at 5 43 31 PM

deduplicate_call_seq has a bug that skips call-seq for methods where the
alias is a prefix of the method name. For example, if the alias name is
"each" and the current method name is "each_line", then
deduplicate_call_seq will skip all call-seq for "each_line" since it
will believe that it is for the alias.
@peterzhu2118 peterzhu2118 merged commit a3523b7 into master Jul 18, 2022
@peterzhu2118 peterzhu2118 deleted the pz-alias-call-seq branch July 18, 2022 13:36
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.

None yet

1 participant