aboutsummaryrefslogtreecommitdiff
path: root/core/id.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-17 14:38:05 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-17 14:39:08 -0800
commit7f47d4204039258cec78c767f489b7809b4257ff (patch)
treec8533068b75ab453accfe1f688705e9e94c9e279 /core/id.nom
parent34a3dd22a4e132bd4e0fe3ce89831c3fe761d3d9 (diff)
In-progress (but working) overhaul of some elements including: function
calls, lib/thing.nom API, multi-assignments, varargs, etc.
Diffstat (limited to 'core/id.nom')
-rw-r--r--core/id.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/id.nom b/core/id.nom
index 9cf5820..7de38f9 100644
--- a/core/id.nom
+++ b/core/id.nom
@@ -16,7 +16,7 @@ use "core/control_flow.nom"
set %obj_by_id's metatable to {__mode: "v"}
%id_by_obj = {}
set %id_by_obj's metatable to {..}
- __mode: "k", __index: [%self, %key] ->:
+ __mode: "k", __index: for (%self %key):
if (%key == (nil)):
return %self.%nil_surrogate