Files
scratch-vm/src/engine
Muffin 0593628e24 Fix rejected promise behavior in interpreter and compiler
Before this command:
- Interpreter would popStack() and continue. Inside a loop this was like JS continue, outside it was like return
- Compiler would return literal undefined and keep going.

After this commit:
Both return the error as a string and then continue as normal.
This has several benefits:
- Users can actually see the error messages
- Logical execution flow
- Consistent behavior
- Blocks aren't even supposed to return rejected promises anyways
- No vanilla blocks return rejected promises so no compatibility concerns

Supersedes https://github.com/TurboWarp/scratch-vm/pull/207
2024-05-09 00:18:18 -05:00
..
2023-12-22 17:56:40 -06:00
2018-11-16 16:49:27 -05:00
2024-05-08 23:01:26 -05:00
2024-01-02 23:19:51 -06:00
2024-05-08 23:01:26 -05:00
2020-06-26 00:14:42 -05:00