refactor: Ensure that the workspace cursor is never null. by gonfunko · Pull Request #9210 · 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

Jul 7, 2025

edited

Loading

The basics

The details

This PR fixes part of RaspberryPiFoundation/blockly-keyboard-experimentation#471 by ensuring that the workspace's cursor is never null. This was defacto the case before, but this PR updates the types and default values to enforce it.

@gonfunko gonfunko merged commit dfd5659 into develop

Jul 7, 2025

18 checks passed

@gonfunko gonfunko deleted the nonnull-marker branch

July 7, 2025 20:55

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@gonfunko @RoboErikG