[GHC] #10083: ghc: panic! (the 'impossible' happened)

GHC ghc-devs at haskell.org
Tue Jul 21 13:20:47 UTC 2015


#10083: ghc: panic! (the 'impossible' happened)
-------------------------------------+-------------------------------------
        Reporter:  hedayaty          |                   Owner:
            Type:  bug               |                  Status:  infoneeded
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.8.4
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"3c44a46b352a4eb7ff72eb3aa5495b25dee8351f/ghc"
 3c44a46b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="3c44a46b352a4eb7ff72eb3aa5495b25dee8351f"
 Refactor self-boot info

 This patch is a simple refactoring that prepares for a later one,
 related to Trac #10083.

 * Add a field tcg_self_boot :: SelfBootInfo to TcGblEnv,
   where SelfBootInfo is a new data type, describing the
   hi-boot file, if any, for the module being compiled.

 * Make tcHiBootIface return SelfBootInfo, a new data type

 * Make other functions get SelfBootInfo from the monad.

 * Remove tcg_mod_name from TcGblEnv; it was barely used and
   simpler to pass around explicitly.
 }}}

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


More information about the ghc-tickets mailing list