r/lua • u/topchetoeuwastaken • May 21 '26
Hot take
debug.setmetatable(nil, { __index = function() return nil end })
6
Upvotes
r/lua • u/topchetoeuwastaken • May 21 '26
debug.setmetatable(nil, { __index = function() return nil end })
3
u/TomatoCo May 21 '26
But why?
2
u/EvilBadMadRetarded May 22 '26 edited May 22 '26
Congratulation, you got the feature upgraded !
:D
1
u/AltF4111 May 21 '26
idk much about lua, can you explain?
2
u/HokumGuru May 21 '26
Actually this is pretty similar to obj-c. I love it! Allows for some fun things!