mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
Print a horizontal rule after the last error
This commit is contained in:
parent
1360b04227
commit
828c5191cf
3 changed files with 23 additions and 2 deletions
|
@ -721,6 +721,12 @@ pub struct MonomorphizedModule<'a> {
|
|||
pub timings: MutMap<ModuleId, ModuleTiming>,
|
||||
}
|
||||
|
||||
impl<'a> MonomorphizedModule<'a> {
|
||||
pub fn total_problems(&self) -> usize {
|
||||
self.can_problems.len() + self.type_problems.len() + self.mono_problems.len()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Default)]
|
||||
pub struct VariablySizedLayouts<'a> {
|
||||
rigids: MutMap<Lowercase, Layout<'a>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue