Closed sostock closed 5 years ago
no, I agree that should be trapped. thank you. fixing it now.
fixed in master, reregistered, merge pending
(that was a good find, and it also caught a gap in the handling of ~
)
Thanks for the quick fixes!
@sostock fyi, the current, just merged, version has both this and the type conversion corrections.
Unary minus is not overflow-aware for
SafeUnsigned
types:If this is the desired behavior, it would be good to mention it in the documentation.