You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to implement code generation for the after keyword in C++, I realized that the code generation process is broken after the latest commits. The bodies of the two generated reactions are always empty. I assume this is because generateDelayBody() and generateForwardBody() produce a String, whereas the grammar now defines code as a series of tokens.
This problem did not show up in the tests because the generated reactors still compile and execute, but no data is delivered over the delayed connection and, therefore, no reactions are triggered. I think we will need a more complex test system, which validates the output of tests to find such errors in the future.
The text was updated successfully, but these errors were encountered:
While trying to implement code generation for the after keyword in C++, I realized that the code generation process is broken after the latest commits. The bodies of the two generated reactions are always empty. I assume this is because
generateDelayBody()
andgenerateForwardBody()
produce a String, whereas the grammar now defines code as a series of tokens.This problem did not show up in the tests because the generated reactors still compile and execute, but no data is delivered over the delayed connection and, therefore, no reactions are triggered. I think we will need a more complex test system, which validates the output of tests to find such errors in the future.
The text was updated successfully, but these errors were encountered: