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 Grouped Stmt Flows & Splat Ambiguity #4526

Merged
merged 1 commit into from
May 2, 2024

Conversation

DavidBakerEffendi
Copy link
Collaborator

  • Fixed issue where lists of StatementList were not being unpacked in grouped assignments
  • Fixed ambiguity of assignment to a splat without spacing being detected as a call multiplied by RHS, e.g. y=*x

Resolves #4506

* Fixed issue where lists of `StatementList` were not being unpacked in grouped assignments
* Fixed ambiguity of assignment to a splat without spacing being detected as a call multiplied by RHS, e.g. `y=*x`

Resolves #4506
@DavidBakerEffendi DavidBakerEffendi added the ruby Relates to rubysrc2cpg label May 2, 2024
@DavidBakerEffendi DavidBakerEffendi self-assigned this May 2, 2024
@DavidBakerEffendi DavidBakerEffendi merged commit bdfe025 into master May 2, 2024
5 checks passed
@DavidBakerEffendi DavidBakerEffendi deleted the dave/ruby/grouped-multiple-stmt branch May 2, 2024 13:28
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.

[ruby] Grouped multiple assignments not parsing
2 participants