[GHC] #7791: Bad error message when strictness annotations are used without BangPatterns pragma

GHC cvs-ghc at haskell.org
Mon Mar 25 09:17:36 CET 2013


#7791: Bad error message when strictness annotations are used without BangPatterns
pragma
------------------------------------------------+---------------------------
  Reporter:  manzyuk                            |          Owner:                
      Type:  bug                                |         Status:  closed        
  Priority:  normal                             |      Milestone:                
 Component:  Compiler                           |        Version:  7.4.1         
Resolution:  invalid                            |       Keywords:                
        Os:  Linux                              |   Architecture:  x86_64 (amd64)
   Failure:  Incorrect warning at compile-time  |     Difficulty:  Unknown       
  Testcase:                                     |      Blockedby:                
  Blocking:                                     |        Related:                
------------------------------------------------+---------------------------
Changes (by simonpj):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => invalid


Comment:

 Yes, the trouble is that
 {{{
 go !k = go + k
 }}}
 really is a valid definition in Haskell 98, and there is not much we can
 do about that.

 Simon

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



More information about the ghc-tickets mailing list