mirror of
https://github.com/Dummi26/mers.git
synced 2026-01-09 05:26:13 +01:00
error display underline now includes a.f(b) (b) part
This commit is contained in:
@@ -74,6 +74,14 @@ impl From<(SourcePos, SourcePos)> for SourceRange {
|
||||
}
|
||||
}
|
||||
}
|
||||
impl SourceRange {
|
||||
pub fn start(&self) -> SourcePos {
|
||||
self.start
|
||||
}
|
||||
pub fn end(&self) -> SourcePos {
|
||||
self.end
|
||||
}
|
||||
}
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct CheckError(Vec<CheckErrorComponent>);
|
||||
#[derive(Clone, Debug)]
|
||||
|
||||
Reference in New Issue
Block a user