Thu Sep  4 06:51:55 PDT 2008  [EMAIL PROTECTED]
  * add assertion to check that UniqFM is only passed "positive" uniques
  The insertion code in UniqFM fails if a unique key
  produces a negative FastInt. I've added an assertion to check
  that each insertion uses a positive Unique.
  
  Where do the negative uniques come from? Both Simom M and
  I have run into this problem when computing hashes for data structures.
  In both cases, we have avoided the problem by ensuring that
  the hashes remain positive.

    M ./compiler/utils/UniqFM.lhs -1 +21

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080904135155-feb93-53959ad0c9302b91f23983f1858429c2b8e930af.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to