Closed sol closed 7 years ago
The scary thing is that I didn't see any uses of unsafePerformIO
and friends. This seems to be pure Haskell code.
I'm pretty sure I've seen something like this, but I was never able to narrow it down to a nice small test case.
Yes, I've also run into this, it is due to a bug in GHC's PIC generation (so it happens with GHCi and -dynamic). It should be fixed in GHC 8.0.2. Here is the relevant bug report:
Steps to reproduce:
Note: This only happens when
haskell-lexer
is compiled (not interpreted).