Hi,

when testing native types with perl6 I encountered the following problem:

..p6:
        my $b is Boolean = 2;

..imc:
        .local Boolean _SV_b1
         $P4 = new PerlUndef
         $P4 = 2
         _SV_b1 = $P4

..pasm:
new P14, .PerlUndef
set P14, 2
set P10, P14

..pbc
new_p_ic P14,2
set_p_ic P14,2
set_p_p P10,P14

which justs sets $1=$2 in core.ops.

What is the intended behaviour of Booleans?
An more generally, shouldn't set_p_p call some vtable function?

leo

Reply via email to