#2331: Bang pattern error message should suggest -XBangPatterns rather than
-fbang-patterns
------------------------+---------------------------------------------------
    Reporter:  ajd      |       Owner:          
        Type:  bug      |      Status:  new     
    Priority:  normal   |   Component:  Compiler
     Version:  6.8.2    |    Severity:  normal  
    Keywords:           |    Testcase:          
Architecture:  Unknown  |          Os:  Unknown 
------------------------+---------------------------------------------------
 {{{
 Prelude> let f (!x) = True
 <interactive>:1:6: Illegal bang-pattern (use -fbang-patterns)
 }}}

 Since GHC is encouraging the use of -X options, shouldn't this suggest
 -XBangPatterns?

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