Content deleted Content added
No edit summary |
No edit summary |
||
Line 16:
local lang = mw.getContentLanguage()
local frame = mw.getCurrentFrame()
require('Module:Lua class')
local C1 = class('Base', {
a = function () return 'a' end,
b = function () return 'base' end
})
local C2 = class(C1, {
b = function () return 'not base' end
})
local obj1, obj2 = C1(), C2()
--[[local conc = ''
for k in pairs(t) do
conc = conc .. k
end]]
return type(C1) .. ' ' .. type(obj1) .. ' ' .. type(obj2)
end
|