You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If fromEnum can produce negative numbers (e.g., if you try to make a BitSet Int), then everything breaks badly (GMP exceptions). As far as I can tell, this is not documented.
The text was updated successfully, but these errors were encountered:
I wonder if we can use another Enum-like class with non-negative fromEnum function? If not, I guess all we can do is document it and add a check to relevant functions.
If
fromEnum
can produce negative numbers (e.g., if you try to make aBitSet Int
), then everything breaks badly (GMP exceptions). As far as I can tell, this is not documented.The text was updated successfully, but these errors were encountered: