|
@@ -195,7 +195,7 @@ pub fn transform(
|
|
|
if spriv_vars.contains(&idstr) {
|
|
if spriv_vars.contains(&idstr) {
|
|
|
do_substitution(sexpr, &idstr, &expr);
|
|
do_substitution(sexpr, &idstr, &expr);
|
|
|
spriv_vars.remove(&idstr);
|
|
spriv_vars.remove(&idstr);
|
|
|
- spriv_vars.extend(priv_vars.clone().into_iter());
|
|
|
|
|
|
|
+ spriv_vars.extend(priv_vars.clone());
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
// Do the substitution on each leaf Expr in the StatementTree
|
|
// Do the substitution on each leaf Expr in the StatementTree
|