List Info

Thread: Re: overload "0+" doesn't handle integer results




Re: overload "0+" doesn't handle integer results
user name
2007-10-08 10:53:22
On 08/10/2007, Rick Delaney <rickbort.ca> wrote:
> I'm pretty sure changing the line to
>
>     my $num_val = int($aref);
>
> will make the tests pass without changing the semantic
of the test too

Thanks, tweaked as #32071.

> much.  But we could probably use some TODO tests to
ensure that
> references in numeric context are always returning IVs.
 Or is there a
> platform with pointers bigger than IVs?

I think IVs are guaranteed to be able to hold pointers.

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )