JavaScript about types causes editor to stop working
- 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
Research direction
Use the reported stack in blockly_compressed.js, beginning at Type.apply and Blockly.Connection.connect_, and try to reproduce the type mismatch involving Number. Done means identifying the cause and restoring editor event handling after the error; no test file is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100