Skip to content

Commit 7b571aa

Browse files
committed
Make it clear the distinction between Any.Hash and Any.hash.
See issue #1731. As of source code from moar-2017.12.
1 parent 7b7de10 commit 7b571aa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/Type/Any.pod6

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,11 @@ say $b.serial.^name; # OUTPUT: Any
367367
368368
Defined as:
369369
370-
method Hash(--> Hash:D) is nodal
370+
proto method Hash(|) is nodal
371+
multi method Hash( --> Hash:D)
371372
372-
Coerce the invocant to L<Hash>.
373+
374+
Coerce the invocant to L<Hash> by inoking the method C<hash> on it.
373375
374376
=head2 method hash
375377

0 commit comments

Comments
 (0)