Anonymous

Module:FunList/Sandbox: Difference between revisions

From Melvor Idle
Add ipairs override
No edit summary
(Add ipairs override)
Line 123: Line 123:
         return self.nextFunc, self.contextFactory(), self.index
         return self.nextFunc, self.contextFactory(), self.index
     end;
     end;
     --__ipairs = function(self)
     __ipairs = function(self)
    --    return self.nextFunc, self.contextFactory(), 0
        return self.nextFunc, self.contextFactory(), 0
     --end;
     end;
}
}
Enumerator3.__index = Enumerator3
Enumerator3.__index = Enumerator3
2,875

edits