[perl #130479] [BUG] Type coercion in signature gives warning on optional named arguments

2018-02-12 Thread Zoffix Znet via RT
On Wed, 17 Jan 2018 15:48:31 -0800, c...@zoffix.com wrote: > 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

[perl #130479] [BUG] Type coercion in signature gives warning on optional named arguments

2018-02-12 Thread Zoffix Znet via RT
On Wed, 17 Jan 2018 15:48:31 -0800, c...@zoffix.com wrote: > 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

[perl #130479] [BUG] Type coercion in signature gives warning on optional named arguments

2018-01-17 Thread Zoffix Znet via RT
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 > >

[perl #130479] [BUG] Type coercion in signature gives warning on optional named arguments

2018-01-17 Thread Zoffix Znet via RT
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 > >

[perl #130479] [BUG] Type coercion in signature gives warning on optional named arguments

2017-01-02 Thread via RT
# New Ticket Created by Douglas Jenkins # Please include the string: [perl #130479] # in the subject line of all future correspondence about this issue. # 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