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

Introduce simpleAssignmentOperators in Language #1464

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

oxisto
Copy link
Member

@oxisto oxisto commented Mar 14, 2024

This PR introduces a simpleAssignmentOperators property in Language, which for most languages will only be =. But for some languages, such as Go, we need to extend this also to :=. Therefore, this PR fixes several issues with Go data-flows. Mostly related to bugs in the assignment expression translation.

Fixes #1461
Fixes #1462
Fixes #1463

@oxisto oxisto marked this pull request as ready for review March 14, 2024 23:23
@oxisto oxisto force-pushed the fixing-go-data-flows branch 2 times, most recently from 8a49957 to 7241451 Compare March 15, 2024 07:52
@oxisto oxisto changed the title Fixing Go data-flow issues Introduce simpleAssignmentOperators in Language Mar 15, 2024
@oxisto oxisto force-pushed the fixing-go-data-flows branch 2 times, most recently from 7f33d0c to a3969ea Compare March 15, 2024 07:59
Copy link

sonarcloud bot commented Mar 15, 2024

@oxisto oxisto merged commit 4a40dc5 into main Mar 15, 2024
4 checks passed
@oxisto oxisto deleted the fixing-go-data-flows branch March 15, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants