google / google/codeworld

JavaScript about types causes editor to stop working

Open
#299 0 comments 0 reactions 0 assignees View on GitHub
bug funblocks
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

I got this error while working on building a simple program:

```
Uncaught Types do not match, when trying to type Number
Type.apply @ blockly_compressed.js:1205
(anonymous function) @ blockly_compressed.js:1239
Blockly.TypeInf.inferWorkspace @ blockly_compressed.js:1238
Blockly.Connection.connect_ @ blockly_compressed.js:926
Blockly.RenderedConnection.connect_ @ blockly_compressed.js:1322
Blockly.Connection.connect @ blockly_compressed.js:932
Blockly.BlockSvg.onMouseUp_ @ blockly_compressed.js:1345
e @ blockly_compressed.js:1693
```

After this, many parts of the editor stopped working. It's as if none of the event handlers work at all any more.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.