Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
A couple more places where we missed 'is rw'.
  • Loading branch information
jnthn committed Jul 9, 2011
1 parent 6a28829 commit 5c4d4d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/List.pm
Expand Up @@ -36,7 +36,7 @@ class List does Positional {
nqp::p6parcel($rpa, Any);
}

method at_pos($pos is copy) {
method at_pos($pos is copy) is rw {
$pos = $pos.Int;
self.exists($pos)
?? nqp::atpos($!items, nqp::unbox_i($pos))
Expand Down Expand Up @@ -201,7 +201,7 @@ class List does Positional {
$parcel
}

method STORE_AT_POS(\$pos, Mu \$v) {
method STORE_AT_POS(\$pos, Mu \$v) is rw {
nqp::bindpos($!items, nqp::unbox_i($pos), $v)
}

Expand Down

0 comments on commit 5c4d4d9

Please sign in to comment.