Lexpedite / blawx

A user-friendly web-based tool for Rules as Code.
MIT License
105 stars 9 forks source link

Disabled Blocks in Stacks Repeat Code of Following Block #393

Open Gauntlet173 opened 1 year ago

Gauntlet173 commented 1 year ago

Currently, if you disable a block that is in a vertical stack, and it is not the last block in that stack, the disabled block will generate the code of the block below it in the stack. This is probably a result of a default behaviour for imperative code that doesn't apply in the context of declarative code.

In the meantime, it is only safe to disable outside blocks, and blocks that are at the bottom of the stack, or have no enabled blocks below them.