don't panic on unknown ambiguity (#7950)
This commit is contained in:
parent
572a836afa
commit
80ed1338a1
@ -1138,18 +1138,18 @@ impl ScheduleGraph {
|
||||
ambiguous_with_flattened.add_edge(lhs, rhs, ());
|
||||
}
|
||||
(NodeId::Set(_), NodeId::System(_)) => {
|
||||
for &lhs_ in set_systems.get(&lhs).unwrap() {
|
||||
for &lhs_ in set_systems.get(&lhs).unwrap_or(&Vec::new()) {
|
||||
ambiguous_with_flattened.add_edge(lhs_, rhs, ());
|
||||
}
|
||||
}
|
||||
(NodeId::System(_), NodeId::Set(_)) => {
|
||||
for &rhs_ in set_systems.get(&rhs).unwrap() {
|
||||
for &rhs_ in set_systems.get(&rhs).unwrap_or(&Vec::new()) {
|
||||
ambiguous_with_flattened.add_edge(lhs, rhs_, ());
|
||||
}
|
||||
}
|
||||
(NodeId::Set(_), NodeId::Set(_)) => {
|
||||
for &lhs_ in set_systems.get(&lhs).unwrap() {
|
||||
for &rhs_ in set_systems.get(&rhs).unwrap() {
|
||||
for &lhs_ in set_systems.get(&lhs).unwrap_or(&Vec::new()) {
|
||||
for &rhs_ in set_systems.get(&rhs).unwrap_or(&vec![]) {
|
||||
ambiguous_with_flattened.add_edge(lhs_, rhs_, ());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user