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


I would expect this code to ignore the conversion of $foo if no value is
passed for it.

$ perl6 -e 'sub (Int(Cool) :$foo){}()'

Use of uninitialized value of type Cool in numeric context
  in sub  at -e line 1

IRC discussion: https://irclog.perlgeek.de/perl6/2017-01-01#i_13832608

Reply via email to