This commit is contained in:
leaf corcoran 2011-10-12 19:58:31 -07:00
parent 383e9d66f2
commit cec8ba5f6f

View File

@ -11,8 +11,7 @@ Set = function(items)
end end
return self return self
end end
Stack = (function() Stack = (function(_parent_0)
local _parent_0 = nil
local _base_0 = { local _base_0 = {
__tostring = function(self) __tostring = function(self)
return "<Stack {" .. concat(self, ", ") .. "}>" return "<Stack {" .. concat(self, ", ") .. "}>"
@ -47,10 +46,10 @@ Stack = (function()
end end
}, { }, {
__index = _base_0, __index = _base_0,
__call = function(cls, ...) __call = function(mt, ...)
local _self_0 = setmetatable({}, _base_0) local self = setmetatable({}, _base_0)
cls.__init(_self_0, ...) mt.__init(self, ...)
return _self_0 return self
end end
}) })
_base_0.__class = _class_0 _base_0.__class = _class_0