Skip to content

Commit

Permalink
Merge pull request #579 from HigherOrderCO/578-undeclared-alias-crash
Browse files Browse the repository at this point in the history
fix: remember to stop file processing on unknown alias
  • Loading branch information
developedby authored Jun 5, 2023
2 parents 8c81e8b + 375f801 commit a495fa1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/kind-driver/src/resolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a495fa1

Please sign in to comment.