Shifting and naming.

This commit is contained in:
2025-10-11 14:46:02 -07:00
parent 55df27de98
commit 9ea6868938
9 changed files with 478 additions and 377 deletions

View File

@@ -32,7 +32,10 @@ impl Span for Location {
impl Location {
pub fn new(file: &ArcIntern<PathBuf>, span: Range<usize>) -> Self {
Location { file: file.clone(), span }
Location {
file: file.clone(),
span,
}
}
pub fn extend_to(&self, other: &Location) -> Location {