scope-local variables

This commit is contained in:
vanten-s 2023-09-27 14:06:50 +02:00
parent fc53305159
commit 6bfb3763d9
Signed by: vanten-s
GPG key ID: DE3060396884D3F2

View file

@ -323,7 +323,7 @@ impl Node for Expression {
} }
let stack_position = state.variables.len() let stack_position = state.variables.len()
- state.variables.iter().position(|x| x == name).unwrap() - state.variables.iter().rposition(|x| x == name).unwrap()
- 1; - 1;
dbg!(&state.variables); dbg!(&state.variables);