8000 fix!: delete IASTNodeLocation and friends by rachel-fenichel · Pull Request #9015 · google/blockly · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix!: delete IASTNodeLocation and friends #9015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025

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 google: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
0