Ticket #2843 (closed bug: fixed)
Missing "Defined but not used" for recursive expressions
Description
a :: Int a = let b = "foo"++b in 42
In this example b is not really used, but there is no warning by GHC. I assume this is so because b calls itself. If I remove ++b then I get the warning as expected.
(This reminds on the difference between a purely reference counting garbage collector and a correct one.)
Change History
Note: See
TracTickets for help on using
tickets.
