# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #129799]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=129799 >



# I have the fix; filing for records

The Dateish role provides method IO that creates an IO::Path object  
from the stringified dateish thing.

However, the method expects IO::Path to stringify the dateish, which fails:

     <ZoffixW> m: Date.today.IO
     <camelia> rakudo-moar 3a6cd8: OUTPUT«Cannot resolve caller  
new(IO::Path: Date); none of these signatures match:␤    (IO::Path $:  
Cool $path, :$SPEC = { ... }, :$CWD = { ... }, *%_)␤    (IO::Path $:  
:$basename!, :$dirname = "", :$volume = "", :$SPEC = { ... }, :$CWD =  
{ ... }, *%_)␤    (…»

Furthermore, even if the above issue is fixed, we'd still get LTA  
undef stringification warnings when the IO is called on the Dateish  
typeobject, as we'd be trying to stringify and undefined dateish.

Reply via email to