fix: remember to stop file processing on unknown alias

This commit is contained in:
Nicolas Abril 2023-06-05 17:18:26 +02:00
parent 8c81e8b7b2
commit 375f801b3e

View File

@ -324,6 +324,10 @@ fn load_file_to_book(
failed |= expand_uses(&mut module, tx.clone());
failed |= expand_module(tx.clone(), &mut module);
if failed {
return failed;
}
let mut state = UnboundCollector::new(tx.clone(), false);
state.visit_module(&mut module);