#5490: Core lint error after desugaring
-----------------------------------+----------------------------------------
    Reporter:  mikhail.vorozhtsov  |       Owner:              
        Type:  bug                 |      Status:  new         
    Priority:  normal              |   Component:  Compiler    
     Version:  7.3                 |    Keywords:              
    Testcase:                      |   Blockedby:              
          Os:  Unknown/Multiple    |    Blocking:              
Architecture:  Unknown/Multiple    |     Failure:  None/Unknown
-----------------------------------+----------------------------------------
 I was investigating a "PAP object entered!" crash and found out that
 almost every module in my program fails to compile with -dcore-lint. I'll
 attach a reduced test case that reproduces the issue:
 {{{
 $ ghc-7.3.20110912 -fforce-recomp -dcore-lint Bug.hs
 [1 of 1] Compiling Bug              ( Bug.hs, Bug.o )
 *** Core Lint errors : in result of Desugar ***
 {-# LINE 113 "Bug.hs #-}:
     [in body of lambda with binder temp_ahE :: Bug.HElemOf
                                                  (GHC.Types.Int
                                                   Bug.:* ([GHC.Types.Char]
 Bug.:* Bug.HNil))]
 ...
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to