From: Pascal Z. <pas...@gm...> - 2007-02-25 21:37:27
|
I think this does qualify as a bug: # let b = BitSet.empty ();; val b : BitSet.t = <abstr> # BitSet.set b 8;; - : unit = () # BitSet.set b 9;; - : unit = () # let e = BitSet.enum b;; val e : int Enum.t = <abstr> # Enum.get e;; - : int option = Some 8 # Enum.get e;; - : int option = None It seems to get triggered when consecutive numbers are stored and retrieved from the bitset, although not every pair of numbers works. I did not look into the details of BitSet.enum, but the bug is likely to be there. Pascal |