aboutsummaryrefslogtreecommitdiff
path: root/lib/core
diff options
context:
space:
mode:
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/things.nom3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/core/things.nom b/lib/core/things.nom
index e6d215a..42e4c62 100644
--- a/lib/core/things.nom
+++ b/lib/core/things.nom
@@ -59,7 +59,8 @@ $METAMETHOD_MAP = {
.mod = "__mod", ."^" = "__pow", ."&" = "__band", ."|" = "__bor", ."~" = "__bxor"
."~" = "__bnot", ."<<" = "__bshl", .">>" = "__bshr", ."==" = "__eq"
."<" = "__lt", ."<=" = "__le", ."set 1 =" = "__newindex"
- .size = "__len", .iterate = "__ipairs", ."iterate all" = "__pairs"
+ ."fallback for" = "__index", .size = "__len", .iterate = "__ipairs"
+ ."iterate all" = "__pairs"
}
$($ as text like a dict) = ({}'s metatable).__tostring