Changeset

8522:073e517a1487

util.set: Add a __name field to metatable
author Kim Alvefur <zash@zash.se>
date Fri, 16 Feb 2018 08:23:26 +0100
parents 8521:6f5ce0f09f40
children 8523:30671b378ab5
files util/set.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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