From c638953e5e18db8901ad1e9c267cbf17560f346f Mon Sep 17 00:00:00 2001 From: JJ Merelo Date: Wed, 18 Mar 2020 13:08:41 +0100 Subject: [PATCH] :delete on associative type objects, refs #6232 --- doc/Language/subscripts.pod6 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/Language/subscripts.pod6 b/doc/Language/subscripts.pod6 index 5d2f583eb..e25d3ed47 100644 --- a/doc/Language/subscripts.pod6 +++ b/doc/Language/subscripts.pod6 @@ -586,6 +586,12 @@ element will at the same time also be deleted. See L<#method DELETE-POS> and L<#method DELETE-KEY> for the underlying mechanism. +You can use also these adverbs on associative type objects, but it will +actually do nothing; it will also return C + +=for code +say Hash:delete; # OUTPUT: «Nil␤» + X<|:p (subscript adverb)> =head2 C<:p>