[GHC] #10182: lookupIfaceGlobal crash with SOURCE import

GHC ghc-devs at haskell.org
Mon Mar 23 11:24:35 UTC 2015


#10182: lookupIfaceGlobal crash with SOURCE import
-------------------------------------+-------------------------------------
              Reporter:  simonpj     |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:  7.12.1
             Component:  Compiler    |           Version:  7.8.4
              Keywords:              |  Operating System:  Unknown/Multiple
          Architecture:              |   Type of failure:  None/Unknown
  Unknown/Multiple                   |        Blocked By:
             Test Case:              |   Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 Try this (in `testsuite/tests/stranal/should_compile`)
 {{{
 bash$ ghc -c T8743.hs-boot
 bash$ ghc -c T8743.hs
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.8.2 for x86_64-unknown-linux):
         tcIfaceGlobal (local): not found:
     main:T8743.$fxToRowMaybe{v r2J}
     [(r2L, Class ‘main:T8743.ToRow{tc r2L}’),
      (r2M, Data constructor ‘main:T8743.D:ToRow{d r2M}’),
      (r2P, Identifier ‘main:T8743.D:ToRow{v r2P}’),
      (roB, Identifier ‘main:T8743.toRow{v roB}’),
      (rqT, Coercion axiom ‘main:T8743.NTCo:ToRow{tc rqT}’)]
 }}}
 Something clearly wrong here. It think this happens with prettty much any
 version of GHC.

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


More information about the ghc-tickets mailing list