Can't find interface-file decl with Typeable
The attached code produces the following error:
GHC error in desugarer lookup in Main:
Can't find interface-file declaration for variable $tc'(,)
Probable cause: bug in .hi-boot file, or inconsistent .hi file
Use -ddump-if-trace to get an idea of which file caused the error
ghc: panic! (the 'impossible' happened)
(GHC version 8.0.1 for x86_64-unknown-linux):
initDs IOEnv failure
when I run stack bench lol
. The issue seems to be related to Typeable
instances for types created with singletons.
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |