-
Simon Marlow authored
Fix for infinite loop when there is a THUNK_SELECTOR which eventually refers to itself, such as might be generated by code like let x = (fst x, snd x) in ... At the same time, I re-enabled the code to traverse multiple selector thunks with bounded depth, because I believe it now works. MERGE TO STABLE (but test thoroughly in the HEAD first, this is fragile stuff)
8435b2e4