Open timo opened 3 weeks ago
When running zef depends Git::Files which depends on git:from<bin>, i.e. a native dependency, then in this code:
zef depends Git::Files
git:from<bin>
https://github.com/ugexe/zef/blob/da187d34993b3a51f926886668765f1976d883cf/lib/Zef/Repository.rakumod#L139-L147
either $group-results or $group-results.flat will result in (Nil,).Seq, causing %searchable{Nil} = 0;, which outputs a warning.
$group-results
$group-results.flat
(Nil,).Seq
%searchable{Nil} = 0;
Huh, I did not expect this type of behavior
$ raku -e 'say Nil.asaasdfasdf' Nil
When running
zef depends Git::Files
which depends ongit:from<bin>
, i.e. a native dependency, then in this code:https://github.com/ugexe/zef/blob/da187d34993b3a51f926886668765f1976d883cf/lib/Zef/Repository.rakumod#L139-L147
either
$group-results
or$group-results.flat
will result in(Nil,).Seq
, causing%searchable{Nil} = 0;
, which outputs a warning.