#2715: GHC panic
----------------------+-----------------------------------------------------
 Reporter:  rodprice  |          Owner:         
     Type:  bug       |         Status:  new    
 Priority:  normal    |      Milestone:         
Component:  Compiler  |        Version:  6.10.1 
 Severity:  normal    |     Resolution:         
 Keywords:            |     Difficulty:  Unknown
 Testcase:            |   Architecture:  x86    
       Os:  Linux     |  
----------------------+-----------------------------------------------------
Changes (by simonpj):

  * difficulty:  => Unknown

Comment:

 Ah, you are using an equality predicate in the superclass context
 {{{
 class (Value d1 ~ Value d2) => IIDomain d1 d2 where
 }}}
 This specifically does not work in 6.10; it's the major unfinished piece
 in the type-family story.

 Really GHC 6.10 should simply reject such programs. As it stands, it has a
 half-baked go at it.

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2715#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to