fix: Fix bug that prevented deleting a variable referenced by two connected blocks by gonfunko · Pull Request #9563 · RaspberryPiFoundation/blockly

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@gonfunko

Copy link Copy Markdown

Contributor

@gonfunko gonfunko commented

Jan 12, 2026

edited

Loading

The basics

The details

Resolves

Fixes #8455

Proposed Changes

This PR fixes a bug that caused an exception to be thrown if a variable was deleted when two blocks referencing the variable were connected to one another.

@gonfunko gonfunko requested a review from a team as a code owner

January 12, 2026 19:19

@gonfunko gonfunko requested a review from BenHenning

January 12, 2026 19:19

@github-actions github-actions bot added the PR: fix

Fixes a bug

label

Jan 12, 2026

@github-actions github-actions bot added PR: fix

Fixes a bug

and removed PR: fix

Fixes a bug

labels

Jan 12, 2026
Copy link Copy Markdown

Collaborator

@BenHenning BenHenning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gonfunko! Fix and tests look good.

@gonfunko gonfunko merged commit 52d935c into main

Jan 12, 2026

9 of 10 checks passed

@gonfunko gonfunko deleted the var-get-set branch

January 12, 2026 23:57

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

Reviewers

@BenHenning BenHenning BenHenning approved these changes

Assignees

@BenHenning BenHenning

Labels

PR: fix

Fixes a bug

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Error when deleting a variable from connected set <-> get variable blocks

2 participants

@gonfunko @BenHenning