mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-28 20:14:45 +00:00
fix: errors in other modules are ignored
This commit is contained in:
parent
7ba874a85c
commit
eaeb659a7d
13 changed files with 214 additions and 75 deletions
|
@ -18,4 +18,10 @@ impl SharedCompileErrors {
|
|||
pub fn take(&self) -> CompileErrors {
|
||||
self.0.borrow_mut().take_all().into()
|
||||
}
|
||||
|
||||
pub fn clear(&self) {
|
||||
self.0.borrow_mut().clear();
|
||||
}
|
||||
}
|
||||
|
||||
pub type SharedCompileWarnings = SharedCompileErrors;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue