Open sgraf812 opened 2 years ago
Well, the interpreter on my machine produces the correct output. Which commit/version are you using?
OK, I could reproduce this bug using the https://github.com/grin-compiler/ext-stg-interpreter-presentation-demos version. Since then I've updated GHC-WPC to GHC 9.0.2 and it fixes this issue. I'll release the update version soon.
Here's a complete reproducer:
When compiled with GHC and then run with
./prog 60
, this program emits 20 identical lines of outputBut with the external STG interpreter, I get seemingly random output
It's not terribly important for our use case to have correct output, but it would be great nonetheless.