[fine] ICE sorts errors on reporting

This commit is contained in:
John Doty 2024-01-28 22:12:30 -08:00
parent 36ed61b8bb
commit 607847abc3

View file

@ -1741,7 +1741,7 @@ impl<'a> Semantics<'a> {
eprintln!("\n{}", self.syntax_tree.dump(true)); eprintln!("\n{}", self.syntax_tree.dump(true));
{ {
let errors = self.errors.borrow(); let errors = self.snapshot_errors();
if errors.len() == 0 { if errors.len() == 0 {
eprintln!("There were no errors reported during checking.\n"); eprintln!("There were no errors reported during checking.\n");
} else { } else {