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

[gosrc2cpg] - Fix for issue #3698 #3702

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

pandurangpatil
Copy link
Contributor

  1. := operator wasn't creating multiple assignment call nodes if more than one variable is declared along with assignment. Fixed the respective use case as well as added few more respective unit tests to cover the use case.

  2. Along with that handled a situation when _ is being used for not using a returned value. So we are not creating respective LOCAL and IDENTIFIER nodes for the same.

`:=` operator wasn't creating multiple assignment call nodes if more
than one variable is declared along with assignment. Fixed the
respective use case as well as added few more respective unit tests to
cover the use case.
@DavidBakerEffendi DavidBakerEffendi merged commit a131c1f into joernio:master Sep 29, 2023
@pandurangpatil pandurangpatil deleted the issue-3698 branch September 29, 2023 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants