[GHC] #13710: panic with boot and -jX

GHC ghc-devs at haskell.org
Thu Jun 8 19:31:42 UTC 2017


#13710: panic with boot and -jX
-------------------------------------+-------------------------------------
        Reporter:  pacak             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1-rc2
      Resolution:                    |             Keywords:  hs-boot
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Now with even fewer //internal// dependencies:

 {{{#!hs
 {-# LANGUAGE TypeFamilies #-}
 module D (D) where

 type family D a
 type instance D Int = Int
 }}}

 {{{#!hs
 module GIGioInterfacesFile where

 import D ()
 import {-# SOURCE #-} qualified GIGioObjectsFileEnumerator as
 Gio.FileEnumerator
 import {-# SOURCE #-} qualified GIGioObjectsMountOperation as
 Gio.MountOperation

 class IsFile o
 }}}

 It looks like type family instances are the culprit.

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


More information about the ghc-tickets mailing list