From 7f47d4204039258cec78c767f489b7809b4257ff Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 17 Nov 2018 14:38:05 -0800 Subject: In-progress (but working) overhaul of some elements including: function calls, lib/thing.nom API, multi-assignments, varargs, etc. --- core/id.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/id.nom') 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 -- cgit v1.2.3