Assert with empty guard condition
Real-Time Embedded Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
In a "choice" transition, if the field labeled "guard:" is populated, but the actual guard condition (field below "guard:") is empty, an assert is generated with information: QM version 3.2.2, module codec:274.
The string in use for the guard was "slave0x0B".
BTW, QM is awesome ;-)
Anonymous
This bug has been fixed in QM 3.3.0. During code generation, an empty code box for a buard causes an error message "ERROR C013: ...: empty guard condition".