Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Avoid the use of a deprecated method inside the setting
  • Loading branch information
moritz committed Feb 7, 2015
1 parent 5450e7e commit bf3e3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/List.pm
Expand Up @@ -86,7 +86,7 @@ my class List does Positional { # declared in BOOTSTRAP
nqp::p6parcel($rpa, Any);
}

method Supply(List:D:) { Supply.for(self) }
method Supply(List:D:) { Supply.from-list(self) }

multi method at_pos(List:D: int \pos) is rw {
fail X::OutOfRange.new(:what<Index>,:got(pos),:range<0..Inf>)
Expand Down

0 comments on commit bf3e3ab

Please sign in to comment.