Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tweak ListIter output to put $!list attribute first, since it is just…
… a circular reference back to the parent list and tends to get lost visually when at the end
  • Loading branch information
japhb committed Apr 5, 2013
1 parent 3ff2762 commit 23847e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/ListIter.pm
Expand Up @@ -74,14 +74,14 @@ my class ListIter {

my $flags := ("\x221e" if self.infinite);
my Mu $attrs := nqp::list();
nqp::push($attrs, '$!list' );
nqp::push($attrs, $!list );
nqp::push($attrs, '$!reified' );
nqp::push($attrs, $!reified );
nqp::push($attrs, '$!nextiter');
nqp::push($attrs, $!nextiter );
nqp::push($attrs, '$!rest' );
nqp::push($attrs, $!rest );
nqp::push($attrs, '$!list' );
nqp::push($attrs, $!list );
self.DUMP-OBJECT-ATTRS($attrs, :$indent-step, :%ctx, :$flags);
}
}
Expand Down

0 comments on commit 23847e9

Please sign in to comment.