"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/core.c/Hash.pm6" between
rakudo-2020.09.tar.gz and rakudo-2020.10.tar.gz

About: Rakudo is a compiler for the Raku Pogramming Language (formerly known as Perl 6).

Hash.pm6  (rakudo-2020.09):Hash.pm6  (rakudo-2020.10)
skipping to change at line 170 skipping to change at line 170
) )
} }
multi method DELETE-KEY(Hash:U: --> Nil) { } multi method DELETE-KEY(Hash:U: --> Nil) { }
multi method DELETE-KEY(Hash:D: Str:D \key) { multi method DELETE-KEY(Hash:D: Str:D \key) {
nqp::if( nqp::if(
nqp::isnull(my \value := nqp::atkey( nqp::isnull(my \value := nqp::atkey(
nqp::getattr(self,Map,'$!storage'), nqp::getattr(self,Map,'$!storage'),
key key
)), )),
nqp::p6scalarfromcertaindesc($!descriptor), $!descriptor.default,
nqp::stmts( nqp::stmts(
nqp::deletekey( nqp::deletekey(
nqp::getattr(self,Map,'$!storage'), nqp::getattr(self,Map,'$!storage'),
key key
), ),
value value
) )
) )
} }
multi method DELETE-KEY(Hash:D: \key) { self.DELETE-KEY(key.Str) } multi method DELETE-KEY(Hash:D: \key) { self.DELETE-KEY(key.Str) }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)