Open gergoerdi opened 2 weeks ago
On Slack's #Clash, @christiaanb recommended trying -O0
which indeed is an effective workaround, however, I'm worried what its effect on simulation performance is.
I have also tried adding {-# OPAQUE sim #-}
as per his recommendation but that does not fix the problem.
The below program runs fine in GHCi, but when compiled and run, fails after the first invocation of
sim
: