melsman / mlkit

Standard ML Compiler and Toolkit
http://melsman.github.io/mlkit
274 stars 30 forks source link

Evaluating expression in REPL twice hangs #144

Closed DarinM223 closed 10 months ago

DarinM223 commented 10 months ago

Evaluating any expression like 1 + 1 twice in the REPL causes it to hang infinitely.

mlkit
MLKit v4.7.5 (v4.7.5-4-g8a083920-dirty - 2023-11-08T00:56:22+01:00) [X64 Backend]
|Garbage collection disabled - it is not supported in the REPL!
|Type :help; for help...
. 1 + 1;
> val it = 2 : int
. 1 + 1;
DarinM223 commented 10 months ago

It looks like it works on a different computer so it is probably not related to mlkit.

DarinM223 commented 10 months ago

145 fixes the hanging on my computer.