Introduce NodeId for AST and synthetic slices

This commit is contained in:
Giulio Agostini
2026-06-30 14:05:46 +02:00
parent ef8abda048
commit d40fe2a550
11 changed files with 504 additions and 170 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ impl<T: Clone + Debug + PartialEq> EnvironmentStack<T> {
}
}
runtime_error(
SourceSlice::default(), // todo change this to the actual source slice
SourceSlice::synthetic(), // todo change this to the actual source slice
format!("Undefined variable '{}'", name),
)
}
@@ -75,7 +75,7 @@ impl<T: Clone + Debug + PartialEq> EnvironmentStack<T> {
}
}
runtime_error(
SourceSlice::default(), // todo change this to the actual source slice
SourceSlice::synthetic(), // todo change this to the actual source slice
format!("Undefined variable '{}'", name),
)
}