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

Symbol redeclaration fix #1788

Merged
merged 12 commits into from
Dec 17, 2024
Merged

Symbol redeclaration fix #1788

merged 12 commits into from
Dec 17, 2024

Conversation

ThrudPrimrose
Copy link
Collaborator

@ThrudPrimrose ThrudPrimrose commented Nov 21, 2024

If a symbol is passed as an argument to the SDFG and assigned on an interstate edge, the framecode declares the scalar symbol again. This PR fixes that issue.

The case: If there is an interstate assignment on a variable, N=5, but if 'Nis also an input argument to the SDFG, then the generated code does not compile becauseN` is redeclared.

@ThrudPrimrose ThrudPrimrose force-pushed the symbol_redeclaration_fix branch from 78801b6 to 26bd8ba Compare December 2, 2024 21:33
@phschaad phschaad enabled auto-merge December 16, 2024 14:35
@phschaad phschaad added this pull request to the merge queue Dec 16, 2024
@tbennun tbennun removed this pull request from the merge queue due to a manual request Dec 16, 2024
@tbennun tbennun added this pull request to the merge queue Dec 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Dec 17, 2024
@tbennun tbennun merged commit 859ab2f into main Dec 17, 2024
9 checks passed
@tbennun tbennun deleted the symbol_redeclaration_fix branch December 17, 2024 02:14
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.

3 participants