[GHC] #8018: GHC hangs with recursive dependency in closed type family

GHC ghc-devs at haskell.org
Fri Jun 28 14:06:52 CEST 2013


#8018: GHC hangs with recursive dependency in closed type family
-----------------------------+----------------------------------------------
Reporter:  goldfire          |          Owner:  goldfire        
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  7.7               |       Keywords:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------
 The following code hangs GHC:

 {{{
 {-# LANGUAGE TypeFamilies #-}

 data Foo a = Bar (F a)

 type family F a where
   F (Foo a) = Bool
 }}}

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



More information about the ghc-tickets mailing list