That makes sense.
Thank you!
On Mon, Jul 3, 2017 at 8:09 PM jn...@jnthn.net via RT <
perl6-bugs-follo...@perl.org> wrote:
> On Fri, 30 Jun 2017 06:41:35 -0700, lloyd.fo...@gmail.com wrote:
> > sub foo( %h ( :$foo = "bar", :$baz) ) {
> > %h;
> > }
> >
> > note foo( { :baz } ); #-> {baz => Tru
That makes sense.
Thank you!
On Mon, Jul 3, 2017 at 8:09 PM jn...@jnthn.net via RT <
perl6-bugs-follo...@perl.org> wrote:
> On Fri, 30 Jun 2017 06:41:35 -0700, lloyd.fo...@gmail.com wrote:
> > sub foo( %h ( :$foo = "bar", :$baz) ) {
> > %h;
> > }
> >
> > note foo( { :baz } ); #-> {baz => Tru
On Fri, 30 Jun 2017 06:41:35 -0700, lloyd.fo...@gmail.com wrote:
> sub foo( %h ( :$foo = "bar", :$baz) ) {
> %h;
> }
>
> note foo( { :baz } ); #-> {baz => True}
>
> If it's not an easy fix it might warrant a "not yet implemented" exception.
It works correctly. Doing:
sub foo( %h ( :$foo = "
On Fri, 30 Jun 2017 06:41:35 -0700, lloyd.fo...@gmail.com wrote:
> sub foo( %h ( :$foo = "bar", :$baz) ) {
> %h;
> }
>
> note foo( { :baz } ); #-> {baz => True}
>
> If it's not an easy fix it might warrant a "not yet implemented" exception.
It works correctly. Doing:
sub foo( %h ( :$foo = "
# New Ticket Created by Lloyd Fournier
# Please include the string: [perl #131681]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=131681 >
sub foo( %h ( :$foo = "bar", :$baz) ) {
%h;
}
note foo( { :baz } ); #-> {baz => Tr