Skip to content

Commit 102fc0f

Browse files
committed
Undo while hack now that for is fixed.
1 parent dac7c49 commit 102fc0f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/QAST/PIRT.nqp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,7 @@ class PIRT::Node {
5959
6060
method children_pir(@children) {
6161
my @parts;
62-
my $count := 0;
63-
while $count < @children {
64-
my $_ := @children[$count];
65-
$count := $count + 1;
62+
for @children {
6663
if nqp::islist($_) {
6764
my $op_name := $_[0];
6865
my @op_args;

0 commit comments

Comments
 (0)