Closed
Description
I have modules A and B. A imports B, and B has OPTIONS_GHC -fno-specialise
. ghcide
gives me the following error on A
(but not B). The error goes away if I remove the no-specialise
on B.
Program error: Error: bytecode compiler can't handle unboxed tuples and sums.
Possibly due to foreign import/export decls in source.
Workaround: use -fobject-code, or compile this module to .o separately.
I remembered this because I saw Ben Gamari report something similar on IRC, not sure if it's the same.