Skip to content

Commit e640491

Browse files
committed
Loosen language in 6.d deprecation warnings
- .path talks about Rakudo specifically; toss versions, since we won't actually be able to emit those warnings - Pair.freeze: remove version from message. Deprecation was deferred to 6.e and I don't think the proposal has had enough eyes yet to guarantee removal will occur.
1 parent b97b039 commit e640491

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/Type/Cool.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,8 +672,8 @@ Defined as:
672672
method path()
673673
674674
B<DEPRECATED>. I<Existed only in the Rakudo implementation and isn't part of
675-
any language released. Issues deprecation warnings in 6.d language and will be
676-
removed entirely when 6.e language is released.>
675+
any language released. Will issue deprecation warnings in future language
676+
versions and eventually will be removed entirely.>
677677
678678
Stringifies the invocant and converts it to L<IO::Path> object.
679679
Use the L«C<.IO method>|/routine/IO» instead.

doc/Type/Pair.pod6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ Makes the I<value> of the C<Pair> read-only, by removing it from its L<Scalar co
301301
CATCH { default { put .^name, ': ', .Str } };
302302
# OUTPUT: «X::Assignment::RO: Cannot modify an immutable Str (apple)␤»
303303
304-
B<NOTE:> this method is proposed for removal in B<6.d> language and its use is not recommended.
304+
B<NOTE:> this method is proposed for removal in future language versions and its
305+
use is not recommended.
305306
306307
=head2 method Str
307308

0 commit comments

Comments
 (0)