Thank you for the report. This issue is now resolved.
If you wish .resolve to `fail` if it cannot completely resolve the path, set
`:completely` named arg to True: https://docs.perl6.org/routine/resolve.html
Thank you for the report. This issue is now resolved.
If you wish .resolve to `fail` if it cannot completely resolve the path, set
`:completely` named arg to True: https://docs.perl6.org/routine/resolve.html
Even if there are no other changes to existing behaviour, I would still
suggest 'warn'ing or 'note'ing when a non-existent part is hit and
resolving is stopped. Or at least changing the documentation, because the
current behaviour is definitely a bit surprising (at least in my opinion).
Dan
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #128214]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128214 >
Code:
say ‘../foo/..’.IO.resolve
Result:
"/home/foo/..".IO
It doe