[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 > > IRC

[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 > > IRC

[perl #131197] [LTA] List.splice issues superfluous warning: "Use of uninitialized value of type Any in string context"

2018-01-17 Thread Zoffix Znet via RT
On Sun, 23 Apr 2017 10:36:15 -0700, archb...@gmail.com wrote: > To repro: > > use v6; > my $root = qw; > my $step = 2; > my $value = 'three'; > $root.splice($step, 0, $value); > # Use of uninitialized value of type Any in string context. > # Methods .^name, .perl, .gist

[perl #131197] [LTA] List.splice issues superfluous warning: "Use of uninitialized value of type Any in string context"

2018-01-17 Thread Zoffix Znet via RT
On Sun, 23 Apr 2017 10:36:15 -0700, archb...@gmail.com wrote: > To repro: > > use v6; > my $root = qw; > my $step = 2; > my $value = 'three'; > $root.splice($step, 0, $value); > # Use of uninitialized value of type Any in string context. > # Methods .^name, .perl, .gist