UoY-RoboStar / robocert-textual

Textual plugin and CSP generator for RoboCert
Eclipse Public License 2.0
2 stars 0 forks source link

Initial set builder is flawed #139

Open MattWindsor91 opened 1 year ago

MattWindsor91 commented 1 year ago

The current implementation of the initial set generator assumes that only the first fragment in an operand need be considered. However, it is possible (via, for instance, constructing false guards or an opt) for there to be a trigger where the first fragment contributes nothing to the initial set, and the second fragment should (but currently doesn't).

There are three ways to improve this:

This should be fairly easily unit-testable, too.