Skip to content

Conversation

@rachel-fenichel
Copy link
Collaborator

The basics

The details

Resolves

Fixes #9006

Proposed Changes

Delete IASTNodeLocation, IASTNodeLocationWithBlock, and IASTNodeLocationSvg.

Reason for Changes

These interfaces were used by ASTNode and Cursor code to define what properties could be found on various node locations. #8992 moved us to use INavigable instead of ASTNode, and uses instanceof instead of interfaces to check properties.

Test Coverage

Ran tests in core.

Documentation

Breaking change: Removes three interfaces: IASTNodeLocation, IASTNodeLocationWithBlock, and IASTNodeLocationSvg. They were used by keyboard navigation code and not expected to be used by code outside of Blockly-authored plugins.

Additional Information

More cleanup!

@rachel-fenichel rachel-fenichel requested a review from gonfunko May 8, 2025 19:45
@rachel-fenichel rachel-fenichel requested a review from a team as a code owner May 8, 2025 19:45
@github-actions github-actions bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: fix Fixes a bug labels May 8, 2025
@rachel-fenichel rachel-fenichel merged commit 92cad53 into RaspberryPiFoundation:rc/v12.0.0 May 8, 2025
11 checks passed
@rachel-fenichel rachel-fenichel deleted the delete-location branch May 8, 2025 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Used to mark a PR or issue that changes our public APIs. PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants