On Sun, 01 Jan 2017 09:06:32 -0800, dougljenk...@gmail.com wrote:
> 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


Thank you for the report. This is now fixed in branch `post-release`.

Fix:  https://github.com/rakudo/rakudo/commit/ae697080d2d5225
Test: https://github.com/perl6/roast/commit/6457b4fab81809c5a

Reply via email to