[GHC] #12692: Can't find interface-file decl with Typeable

GHC ghc-devs at haskell.org
Wed Oct 12 01:52:22 UTC 2016


#12692: Can't find interface-file decl with Typeable
-------------------------------------+-------------------------------------
           Reporter:  crockeea       |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Compile-time
  Unknown/Multiple                   |  crash
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 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.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12692>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list