Open Gabriella439 opened 8 years ago
Whoa! Never seen that before -- probably tickles some dark corner of the GHC API. Will look into ASAP thanks!
That is indeed a GHC error. I believe the issue is that GHC rejects your program because it contains a duplicate INLINE pragma. Usually when this happens we print out GHC's error message, but somehow in this case we're ignoring GHC and trying to add the module to our interactive context anyway.
TL;DR your module is bad, but we need to extract GHC's error message so you can have a hope of fixing it.
If I type-check the following module with Liquid Haskell:
... then I get the following error message:
A better error message would help narrow down the problem more quickly