Skip to content
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

fix: add compose and decompose errors to mutator icon #7289

Merged
merged 2 commits into from
Jul 14, 2023

Conversation

BeksOmega
Copy link
Collaborator

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Fixes #7288

Proposed Changes

Adds clearer error throwing to the mutator. Throws if necessary methods do not exist.

Test Coverage

N/A Can add unit tests if desired.

Documentation

N/A

Additional Information

N/A

@BeksOmega BeksOmega requested a review from a team as a code owner July 13, 2023 18:56
@github-actions github-actions bot added the PR: fix Fixes a bug label Jul 13, 2023
@BeksOmega BeksOmega merged commit 8355351 into google:develop Jul 14, 2023
cpcallen added a commit to cpcallen/blockly that referenced this pull request Aug 2, 2023
The test plan specified to use a block from the Basic Blocks
category of the test blocks.

PR google#7324 changed the test in a way that violated the plan,
albeit in aid of a good cause: the basic blocks category had
become unusable due to a bug in the test blocks combined with
better error checking (in PR google#7289).

Since the test blocks were fixed by google/blockly-samples#1774
(and the fix published and Blockly updated by PR google#7313) this
violation can be corrected.
@BeksOmega BeksOmega deleted the fix/add-decompose-error branch May 14, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uncaught TypeError: this.sourceBlock.decompose is not a function
2 participants