Auto-promotion of Integer to BigInt

Daniel Arbelo arbelo at gmail.com
Wed Nov 11 00:41:43 UTC 2009


On Tue, Nov 10, 2009 at 3:18 PM, Andrew Whitworth <wknight8111 at gmail.com> wrote:
> If I had my druthers, I would disable autopromotion of Integer to
> BigInt. I agree that it's easy enough to flag on overflow and to
> manually promote to BigInt if necessary. I don't suspect many people
> will agree with this.

For what my opinion is worth, I agree. Integer should wrap INTVAL and
do no auto promotion at all.

Daniel Arbelo Arrocha


More information about the parrot-dev mailing list