The PIR:
.sub main @MAIN
$P1 = new PerlInt
$P1 = 1
$P2 = new Integer
$P2 = 2
$P3 = new Integer
$P3 = $P1 - $P2
print $P3
print "\n"
end
.end
Generates an exception: "no bigint lib loaded"
If you reverse the subtraction (and do $P2 - $P1 instead), no exception is thrown.
Similar behavior occurs if you replace "Integer" with "TclInt" (and the appropriate find_type).
[ snip ]
> Generates an exception: "no bigint lib loaded"
Oops. Too much cut'n'paste. Fixed.
leo