Always run lists if they contain something that has no provides info

This commit is contained in:
Adrian Heine 2020-02-11 19:56:13 +01:00
parent 2b786a2175
commit e4b3424ba6

View file

@ -48,6 +48,8 @@ impl Symbol for List<'_> {
for symbol in &self.symbols { for symbol in &self.symbols {
if let Some(provides) = symbol.provides() { if let Some(provides) = symbol.provides() {
r.extend(provides.into_iter()); r.extend(provides.into_iter());
} else {
return None;
} }
} }
if r.is_empty() { if r.is_empty() {