Added shadow variables

This commit is contained in:
2023-08-04 16:06:43 -07:00
parent 602fde4441
commit 837f256347
5 changed files with 42 additions and 23 deletions

View File

@@ -10,7 +10,7 @@ fn eval_to_str(s: &str) -> Result<String, ()> {
};
//let out_str = g.print();
return match evaluate(&g, &mut Context::new(), false) {
return match evaluate(&g, &mut Context::new()) {
Ok(x) => Ok(x.to_string_outer()),
Err(_) => Err(())
};