[GHC] #2136: Not warned about unused recursive bindings
GHC
trac at galois.com
Tue Mar 4 20:50:04 EST 2008
#2136: Not warned about unused recursive bindings
-------------------------+--------------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8.3
Component: Compiler | Version: 6.8.2
Severity: normal | Keywords:
Difficulty: Unknown | Testcase: rn063
Architecture: Unknown | Os: Unknown
-------------------------+--------------------------------------------------
If we have this module:
{{{
module Q where
v :: a
v = let x = x in undefined
w :: a
w = let y = 'a' in undefined
}}}
then we get warned that `y` is unused, but not that `x` is:
{{{
q.hs:8:8: Warning: Defined but not used: `y'
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2136>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list