Skip to content

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

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

fix: Fix navigation for blocks with multiple statement inputs.#9143
gonfunko merged 2 commits intoRaspberryPiFoundation: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 requested a review from a team as a code owner June 13, 2025 20:49
@gonfunko gonfunko requested a review from BenHenning June 13, 2025 20:49
@github-actions github-actions bot added the PR: fix Fixes a bug label Jun 13, 2025
@gonfunko gonfunko requested review from rachel-fenichel and removed request for BenHenning June 13, 2025 20:49
@gonfunko gonfunko merged commit 93a9b6b into RaspberryPiFoundation:develop Jun 13, 2025
12 checks passed
@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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes 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