Folks, I have rewritten the Integer 'neg' and 'absolute' operators so they promote the minimum integer to a BigInt when negating it. This is consistent with 'add', 'subtract', etc., all of which promote to BigInt.
I consider the current behavior to be a bug, so that no deprecation is required. What do you think? As an example of a PMC that inherits from Integer and might rely on the current behavior, I give you Boolean. It inherits 'neg' and relies on the fact that it does not promote to implement the following bizarre behavior: -(Boolean true) => true -(Boolean false) => false I will simply implement 'neg' in Boolean to preserve this whackiness. ~~ Paul _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
