Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Annotate List!ensure-allocated to return Nil
  • Loading branch information
lizmat committed Mar 13, 2016
1 parent 7358690 commit 43e7638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/List.pm
Expand Up @@ -265,7 +265,7 @@ my class List does Iterable does Positional { # declared in BOOTSTRAP
list
}

method !ensure-allocated() {
method !ensure-allocated(--> Nil) {
$!reified := nqp::create(IterationBuffer) unless $!reified.DEFINITE;
}

Expand Down

0 comments on commit 43e7638

Please sign in to comment.