Skip to content

fix: Fix navigation for blocks with multiple statement inputs. - #9143

Merged
gonfunko merged 2 commits into
RaspberryPiFoundation:developfrom
gonfunko:if-navigation
Jun 13, 2025
Merged

fix: Fix navigation for blocks with multiple statement inputs.#9143
gonfunko merged 2 commits into
RaspberryPiFoundation:developfrom
gonfunko:if-navigation

Conversation

@gonfunko

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes#9139

Proposed Changes

This PR updates the block navigation policy to correctly handle navigating blocks with multiple statement inputs, e.g. if-else blocks.

@gonfunko
gonfunko merged commit 93a9b6b into RaspberryPiFoundation:developJun 13, 2025
@gonfunko
gonfunko deleted the if-navigation branch June 13, 2025 22:09
@microbit-matt-hillsdon

Copy link
Copy Markdown
Collaborator

This is working well, thanks.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fixFixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can no longer visit positions in a block after a nested statement block

4 participants

@gonfunko@microbit-matt-hillsdon@rachel-fenichel@BenHenning