Skip to content

Commit 2c710e6

Browse files
committed
missing args spotted by masak++
1 parent 040f663 commit 2c710e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Perl6/Perl5/Differences.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,10 @@ just functions with a fancy syntax.
431431
You can override these to provide the desired semantics.
432432

433433
class OrderedHash does Associative {
434-
multi sub postcircumfix:<{ }>(Int $index) is export {
434+
multi sub postcircumfix:<{ }>(%h, Int $index) is export {
435435
# code for accessing single hash elements here
436436
}
437-
multi sub postcircumfix:<{ }>(**@slice) is export {
437+
multi sub postcircumfix:<{ }>(%h, **@slice) is export {
438438
# code for accessing hash slices here
439439
}
440440
...

0 commit comments

Comments
 (0)