Not warned about unused recursive bindings
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'
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |