parse tweaks

This commit is contained in:
2024-03-06 14:35:46 -08:00
parent ac564e6e41
commit 6c3fc2de01
4 changed files with 19 additions and 26 deletions

View File

@@ -68,6 +68,7 @@ impl Program {
/// actually a problem.
pub fn validate(&self) -> (Vec<Error>, Vec<Warning>) {
let mut bound_variables = ScopedMap::new();
println!("validate: {}", self);
self.validate_with_bindings(&mut bound_variables)
}