Menu

#116 Assertion while generating code

QM3
closed
None
1
2018-05-04
2015-10-26
Anonymous
No

I received an assertion in QM version 3.1.3, module codec:321

This occured twice while attempting to generate code. Unfortunately, I cannot be more helpful than that.

Discussion

  • Quantum Leaps

    Quantum Leaps - 2015-10-26

    This assertion fires when you have over 15-levels of nesting in your code. This is most likely because you have nested the choice-segments too deep (if-else-if-else-if-else...). This is indicative of a poor state machine design and reversal to the "spaghetti" code.

    The assertion will be turned into a message box in the future releases, but still, the code won't be generated in such cases.

     
  • Quantum Leaps

    Quantum Leaps - 2015-10-26
    • status: open --> pending
     
  • Quantum Leaps

    Quantum Leaps - 2017-12-15
    • status: pending --> closed
    • assigned_to: Quantum Leaps
     
  • Quantum Leaps

    Quantum Leaps - 2017-12-15

    Fixed in 4.1.0.
    --MMS

     

Anonymous
Anonymous

Add attachments
Cancel