Monkey-patch bluon metatable

This commit is contained in:
Lars Mueller 2021-05-08 21:03:07 +02:00
parent f6a3f31c13
commit 4bf8d23917

@ -1,6 +1,8 @@
--! experimental
local bluon = getfenv(1)
local metatable = {__index = bluon}
local metatable = {__index = function(_self, key)
return rawget(bluon, key)
end}
function new(self)
return setmetatable(self or {}, metatable)