niecza icon indicating copy to clipboard operation
niecza copied to clipboard

binding does not immediately autovivify

Open coke opened this issue 11 years ago • 1 comments

These tests in S02-types/autovivification.t fail:

     my %h;
     my $b := %h<a><b>;
     is %h.keys.elems, 0, 'binding does not immediately autovivify';
     my %h;
     foo(%h<a><b>);
     is %h.keys.elems, 0, 'in rw arguments does not autovivify';

coke avatar Sep 02 '13 02:09 coke

Thank you! On Sep 1, 2013 10:07 PM, "Will Coleda" [email protected] wrote:

These tests in S02-types/autovivification.t fail:

 my %h;
 my $b := %h<a><b>;
 is %h.keys.elems, 0, 'binding does not immediately autovivify';

 my %h;
 foo(%h<a><b>);
 is %h.keys.elems, 0, 'in rw arguments does not autovivify';

— Reply to this email directly or view it on GitHubhttps://github.com/sorear/niecza/issues/176 .

colomon avatar Sep 02 '13 02:09 colomon