[fine] ICE sorts errors on reporting
This commit is contained in:
parent
36ed61b8bb
commit
607847abc3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue