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

feat: Support (ArrayItem = ArrayConstant) type of Assignments with array indices #5824

Merged
merged 3 commits into from
Dec 25, 2024

Conversation

jinangshah21
Copy link
Contributor

@jinangshah21 jinangshah21 commented Dec 25, 2024

Here all cases are covered for (ArrayItem = ArrayConstant) type of Assignments where LHS contains Array Indices.

@jinangshah21 jinangshah21 changed the title feat: Support (ArrayItem = ArrayConstant) type of Assignments feat: Support (ArrayItem = ArrayConstant) type of Assignments with array indices Dec 25, 2024
@jinangshah21
Copy link
Contributor Author

jinangshah21 commented Dec 25, 2024

In pass_utils.h , I have specified explicit cases (i.e. types of lhs and rhs) of Assignments in create_do_loop_assign for clarity but many things are common, So afterwards we can shorten code.

@certik certik merged commit b25e329 into lfortran:main Dec 25, 2024
27 checks passed
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