Add missing to_string

7220-lua-add-a-general-purpose-lexical-parser
uramer 2 years ago
parent 3618b3f409
commit 749c89e26e

@ -115,6 +115,9 @@ M.__newindex = function(self, key, value)
error('Content can only contain tables')
end
end
M.__tostring = function(self)
return ('UiContent{%d layouts}'):format(#self)
end
local function next(self, index)
local v = rawget(self, index)
if v then

Loading…
Cancel
Save