diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-02-13 15:17:45 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-02-13 15:18:00 -0800 |
| commit | a9c4b78074d1cf4399e9e2bc9e98d6d0c772ec29 (patch) | |
| tree | 879c3741533247dd19aac7bcf836eefb2618b111 /core/operators.nom | |
| parent | da65c91cb62a29e74c00bdd8b8f8066fc1f61489 (diff) | |
Initial branch of switching to using immutable types.
Diffstat (limited to 'core/operators.nom')
| -rw-r--r-- | core/operators.nom | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/operators.nom b/core/operators.nom index d2929bf..7a6f535 100644 --- a/core/operators.nom +++ b/core/operators.nom @@ -79,7 +79,7 @@ immediately: Expected a Dict for the assignments part of '<- %' statement, not \(%assignments' source code) lua> ".." for i, item in ipairs(\%assignments.value) do - local target, value = item.dict_key, item.dict_value; + local target, value = item.key, item.value; local target_lua = nomsu:tree_to_lua(target); if not target_lua.expr then error("Invalid target for assignment: "..target:get_src()); end local value_lua = nomsu:tree_to_lua(value); |
