rewrite variable.go to allow indexed asignment

This commit is contained in:
2023-03-08 22:41:55 +00:00
parent f7603e30c4
commit 09deba8912
8 changed files with 166 additions and 42 deletions

View File

@@ -99,7 +99,7 @@ func importMod(realpath string, origin string, main bool) ArErr {
return translationerr
}
global := scope{}
_, runimeErr, _, _ := run(translated, stack{vars, global})
_, runimeErr, _ := run(translated, stack{vars, global})
if runimeErr.EXISTS {
return runimeErr
}