Looking at the code in array.pmc's set_integer_same I see:

=item C<void set_integer_same(PMC* value)>

Sets the length of the array to the number of elements in C<*value>.

=cut

*/

    void set_integer_same (PMC* value) {
        INTVAL size = DYNSELF.elements();
        list_set_length(INTERP, (List *) PMC_data(SELF) ,size);
    }


Surely that DYNSELF should be value? As is, I think that this method is a
no-op.

Nicholas Clark

Reply via email to