[GHC] #682: Incorrect parentheses in warning message

GHC trac at galois.com
Sun Feb 5 18:32:10 EST 2006


#682: Incorrect parentheses in warning message
-------------------------+--------------------------------------------------
    Reporter:  guest     |        Owner:         
        Type:  bug       |       Status:  new    
    Priority:  normal    |    Milestone:         
   Component:  Compiler  |      Version:  6.4.1  
    Severity:  minor     |     Keywords:         
          Os:  Linux     |   Difficulty:  Unknown
Architecture:  x86       |  
-------------------------+--------------------------------------------------
{{{
 $ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 6.4.1
 $ cat > test.hs
 main | x <- 1*2+3*4 = undefined
 $ ghc test.hs

 test.hs:1:5:
     Warning: accepting non-standard pattern guards (-fglasgow-exts to
 suppress this message)
                  [x <- ((1 * 2) + 3) * 4, undefined]
 }}}

 The arithmetic expression is parenthesized incorrectly in the warning.

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


More information about the Glasgow-haskell-bugs mailing list