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

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


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

Comment(by manzyuk):

 Thanks for the clarification, this makes sense.  I guessed I assumed {{{go
 !k}}} and {{{go ! k}}} were parsed differently.  I'm not convinced that
 GHC can't detect this situation, but it's probably a corner case that is
 not worth the added complexity.  Please feel free to resolve the ticket.

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



More information about the ghc-tickets mailing list