bbcmicrobit / bbcmicrobit/PythonEditor
blocks: no warnings when connecting 'incompatible' blocks
- Langage dominant
- JavaScript
- Étoiles
- 201
- Forks
- 126
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
(This one probably isn't trivial, as I think it's partially a blockly/Python limitation)
One of the things that blocks is quite good at is avoid syntax errors.
However, our current implementation doesn't protect the user from type error as well as it could.
For example, the following code fails as soon as it is run on the micro:bit

PXT gives slightly more useful feedback:

Do we have a way of giving more immediate feedback to users about type mismatches? Or even better, perhaps (although it's spooky action at a distance) automatically inserting the required conversion so it 'just works'?
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.