fix: Fire a `VarTypeChange` event when changing a variable's type. by gonfunko · Pull Request #9236 · 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

The basics

The details

Resolves

Fixes #9229

Proposed Changes

This PR fires a VarTypeChange event when a variable's type is changed via the VariableMap. It also adds a test of this behavior.

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

July 14, 2025 16:23

@gonfunko gonfunko requested a review from RoboErikG

July 14, 2025 16:23

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

Fixes a bug

label

Jul 14, 2025

@gonfunko gonfunko merged commit 9f66f0c into develop

Jul 14, 2025

17 checks passed

@gonfunko gonfunko deleted the var-type-change branch

July 14, 2025 16:53

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

Reviewers

1 more reviewer

@RoboErikG RoboErikG RoboErikG approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

@RoboErikG RoboErikG

Labels

PR: fix

Fixes a bug

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@gonfunko @RoboErikG