# HG changeset patch # User Kim Alvefur # Date 1518765806 -3600 # Node ID 073e517a1487973ce21433fd4bb9099fdcf9e223 # Parent 6f5ce0f09f409ea8b8f648f4b9ee16c145853298 util.set: Add a __name field to metatable diff -r 6f5ce0f09f40 -r 073e517a1487 util/set.lua --- a/util/set.lua Fri Feb 16 08:23:15 2018 +0100 +++ b/util/set.lua Fri Feb 16 08:23:26 2018 +0100 @@ -12,7 +12,7 @@ local _ENV = nil; -local set_mt = {}; +local set_mt = { __name = "set" }; function set_mt.__call(set, _, k) return next(set._items, k); end