[project @ 1999-08-24 08:52:25 by simonpj]
authorsimonpj <unknown>
Tue, 24 Aug 1999 08:52:25 +0000 (08:52 +0000)
committersimonpj <unknown>
Tue, 24 Aug 1999 08:52:25 +0000 (08:52 +0000)
commitac049528f38c7b85ac570b37a3724cf5d01487d4
tree228acdba486e223352de04658567e0ade9949281
parent08dab1956c5796d361c412845e038be2d3e17ddf
[project @ 1999-08-24 08:52:25 by simonpj]
Make primOpHasSideEffects return True for the various Write primops.
Amazingly, this wasn't done, and that meant that Write operations
could be silently discarded!  This broke the GHC typechecker
(actually the implementation of checkNoErrsTc, showed up in
deriving code)
ghc/compiler/prelude/PrimOp.lhs