Skip to content

Commit 51a92da

Browse files
committed
multi needs type on former invocant, PerlJam++
1 parent 2c710e6 commit 51a92da

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:<{ }>(%h, Int $index) is export {
434+
multi sub postcircumfix:<{ }>(OrderedHash \this, Int $index) is export {
435435
# code for accessing single hash elements here
436436
}
437-
multi sub postcircumfix:<{ }>(%h, **@slice) is export {
437+
multi sub postcircumfix:<{ }>(OrderedHash \this, **@slice) is export {
438438
# code for accessing hash slices here
439439
}
440440
...

0 commit comments

Comments
 (0)