[broken HEAD] In which the strict state monad fails at basic arithmetic

Ben Gamari ben at smart-cactus.org
Fri Sep 1 13:53:12 UTC 2017


Moritz Angermann <moritz.angermann at gmail.com> writes:

> Hi *,
>
> while working on some related code.  I came across a rather peculiar behavior
> with GHC built from the current master branch at b2c2e3e8.
>
The issue was a bug indeed introduced by the commit you cite below. The
problem was a mistake in a change in constant folding which,
frighteningly, the testsuite did not catch. See D3904 for a fix and a
test is forthcoming.

Cheers,

- Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170901/77be641b/attachment.sig>


More information about the ghc-devs mailing list