source-academy/js-slang

Source Native: Unable to run any code in REPL before running code in the main editor

Opened this issue · 1 comments

When using the native variant of Source, it appears that trying to run any code in the REPL before the main editor code has been run will result in the execution being stuck, as shown below:

Expected Outcome (non-native variant):
sourceacademy org_playground (1)

Actual Outcome (native variant):
sourceacademy org_playground

Notice the green run button in the native variant, and indicates that the execution is currently in progress (and not yet completed).

This seems to be a very recent regression, introduced today or yesterday: I had some sourceacademy.org workspaces in tabs that showed the correct behaviour. After a hard refresh, the bug appears.