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
I have searched for similar issues before opening a new one.
Description
If you have an if/if else block and add a statement block inside one of the if... conditions, you can no longer visit any node in the parent if block after that statement block. In MakeCode, this also impacts access to the +/- modifiers to add / remove conditions. First noticed by @microbit-grace
I think this behaviour change was unintentionally introduced in #9104
Check for duplicates
Description
If you have an
if/if elseblock and add a statement block inside one of theif...conditions, you can no longer visit any node in the parentifblock after that statement block. In MakeCode, this also impacts access to the +/- modifiers to add / remove conditions. First noticed by @microbit-graceI think this behaviour change was unintentionally introduced in #9104
Reproduction steps
Please see video below for reproduction.
Stack trace
Screenshots
Screen.Recording.2025-06-02.at.11.08.19.mov
Browsers
No response