On Sat May 10 20:42:00 2008, tene wrote:
> 19:13 <@pmichaud> so, set $PX[$PX], $PX   is calling set_pmc_keyed even
> when [$PX] is an Integer
> 19:31 <@pmichaud> $P1[$P2]  always invokes  get_pmc_keyed and never
> get_pmc_keyed_int
> 19:31 <@pmichaud> that's a bit of a problem for aggregates that have
> both hash keys and int keys
> 
> There is some inline PIR in rakudo that needs to be removed when this is
> fixed.  Check r27433.

I think it's arguable that the current behavior is correct; If you want
to use the keyed int syntax, isn't:

$I0 = $P1
$P2[$I0]

the proper way to trigger that?

Reply via email to