Skip to content

Commit a783b06

Browse files
authored
Postpone .child -> .child (secure) swap to 6.e
Postponed until 6.e because there's a huge amount of ecosystem usage and the IO::Path.add that is the alternative is too new for module authors to reliably switch to using it.
1 parent 9bc1a75 commit a783b06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Type/IO/Path.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Defined as:
152152
method child(IO::Path:D: Str() $childname --> IO::Path:D)
153153
154154
Alias for L«C<.add>|/routine/add». B<NOTE:> C<.child> will be switched to
155-
secure version around 6.d release time, which will C<fail()> with non-child
155+
secure version around 6.e release time, which will C<fail()> with non-child
156156
paths and is also slower, since it has to do more work. Use
157157
L«C<.add>|/routine/add» if your code does not need to guarantee the added
158158
path is in fact a child path.

0 commit comments

Comments
 (0)