Closed LeventErkok closed 2 years ago
Now also blocked by https://github.com/sol/doctest/issues/303; so moving to GHC 9.2.1 will even be further delayed
We'll be moving to cabal-docspec instead.. Faster and seems more resilient to changes in GHC: https://github.com/phadej/cabal-extras/tree/master/cabal-docspec
With GHC 9.0.1; doctests crash with mysterious output of the form:
Here's one way to replicate. Run:
Then evaluate:
Note that the above isn't reliable either. Sometimes it works sometimes it doesn't. But it appears anytime I do
make docTest
I run into one of these.I wasn't able to isolate the issue, looks like GHC goes into some weird state. Nor was I able to simplify to come up with a bug-report for GHC.