#7078: Panic using mixing list with parallel arrays incorrectly
-------------------------+--------------------------------------------------
    Reporter:  NeilJ     |       Owner:  chak              
        Type:  bug       |      Status:  new               
    Priority:  normal    |   Milestone:                    
   Component:  Compiler  |     Version:  7.4.1             
    Keywords:            |          Os:  Unknown/Multiple  
Architecture:  x86       |     Failure:  Compile-time crash
  Difficulty:  Unknown   |    Testcase:                    
   Blockedby:            |    Blocking:                    
     Related:            |  
-------------------------+--------------------------------------------------
Changes (by chak):

  * failure:  GHC rejects valid program => Compile-time crash


Comment:

 GHC shouldn't panic, but instead give a proper error message, but the
 definition of transpose in Handy.hs is incorrect. It uses list pattern
 matching with `(:)` for parallel arrays. That is impossible as they are
 not inductively defined.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7078#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