Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix .plan method to reify correctly later
Turns out p6listiter needed a ref back to us to know where to put reified values.
  • Loading branch information
TimToady committed Sep 10, 2014
1 parent 02db739 commit 0792a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/List.pm
Expand Up @@ -288,7 +288,7 @@ my class List does Positional { # declared in BOOTSTRAP
# ).throw unless nqp::istype($_, $of) for @values;
# }

nqp::bindattr(self, List, '$!nextiter', args.list.iterator);
nqp::bindattr(self, List, '$!nextiter', nqp::p6listiter(nqp::list(args.list), self));
Nil;
}

Expand Down

0 comments on commit 0792a91

Please sign in to comment.