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

Fix banks of modal reactors #1279

Merged
merged 8 commits into from
Jul 12, 2022
Merged

Fix banks of modal reactors #1279

merged 8 commits into from
Jul 12, 2022

Conversation

a-sr
Copy link
Collaborator

@a-sr a-sr commented Jul 6, 2022

Fixes code generation for modal reactors to correctly account for banks.

Closes #1264

@a-sr a-sr marked this pull request as ready for review July 6, 2022 19:53
Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, modulo that Xbase import.

@@ -2,8 +2,11 @@

import java.util.List;

import org.eclipse.xtext.xbase.lib.IterableExtensions;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've been avoiding unnecessary dependencies on Xtext/Xbase in our code generators. Could you using something from the standard Java library instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I removed the usage of that extension.

Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 🚀 🚀

@lhstrh lhstrh merged commit f232b9d into master Jul 12, 2022
@lhstrh lhstrh deleted the modal-banks branch July 12, 2022 15:26
@lhstrh lhstrh added bugfix c Related to C target python Related to the Python target labels Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix c Related to C target modal models python Related to the Python target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Banks of modal rectors do not receive inputs
3 participants