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

[ruby] Fixed Argument Order on ArgumentListContextHelper #4972

Merged
merged 3 commits into from
Sep 27, 2024

Conversation

DavidBakerEffendi
Copy link
Collaborator

Fixed bug introduced by #4946. In this PR, the ordering was accounted for after the fact, but this appeared to have been missed in a few places as some instances in practice had mixed up orders. This uses line and column information to order arguments correctly at the elements call before other nodes are constructed from the result.

@DavidBakerEffendi DavidBakerEffendi added the ruby Relates to rubysrc2cpg label Sep 26, 2024
@DavidBakerEffendi DavidBakerEffendi self-assigned this Sep 26, 2024
@mpollmeier mpollmeier merged commit da64780 into master Sep 27, 2024
5 checks passed
@DavidBakerEffendi DavidBakerEffendi deleted the dave/ruby/fix-arg-list-order branch September 27, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ruby Relates to rubysrc2cpg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants