source-academy / js-slang

Implementations of sublanguages of JavaScript, TypeScript, Scheme and Python
https://source-academy.github.io/source/
Apache License 2.0
70 stars 104 forks source link

CSE machine: break and continue not working #1505

Closed martin-henz closed 9 months ago

martin-henz commented 1 year ago

These are the examples given:

https://share.sourceacademy.nus.edu.sg/2qub9

https://share.sourceacademy.nus.edu.sg/7vatb

Running them in the CSE Machine results in this error:

Hints: Line 1: Uncaught error during typechecking, report this to the adminstrators! e is null