This fixes TEST='MoreEx T11224b MonoidsTF T11480b T11523' when GHC is
compiled with -DDEBUG.
These tests were broken by commit b5292557dcf2e3844b4837172230575d40a8917e (Trac #11581).
@niteria: I don't know what I'm doing, but this is in response to https://mail.haskell.org/pipermail/ghc-devs/2016-February/011455.html. See https://s3.amazonaws.com/archive.travis-ci.org/jobs/110115377/log.txt for the Travis build log.
I see three solutions:
Which do you prefer?
Are you sure that it bisects to a008eadfaa4816be349b4fefde9b9b9edc1ca359? This place looks only vaguely related. If it really broke because of a008eadfaa4816be349b4fefde9b9b9edc1ca359, then my guess would be that a008eadfaa4816be349b4fefde9b9b9edc1ca359 is an incomplete fix.
The place that I marked is supposed to be already fixed, if we push this then I'm not sure how to fix it.
Can @simonpj take a look?
This might be a pre-existing problem.
This is a clear regression as indicated by the comment below.