# P35 (**) Determine the prime factors of a given positive integer.

This test fails for me with the latest Rakudo. It looks like this is because when a variable is pushed onto an array, and then auto-incremented, it is also auto-incremented inside the array.

my @stuff;
my $w = 1;

gives an output of:

I'm still catching up, so I'm not sure if that behavior is expected and the test is wrong or vice versa (or if I'm just completely missing something).

Reply via email to