Skip to content

Commit 4effbb3

Browse files
authored
feat: add ipairs and pairs to the base environment
2 parents 67a6112 + 87256af commit 4effbb3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

class_loader.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ do
168168
__name = packageName,
169169
__type = "Package",
170170
__isPackage = true,
171-
_G = _G
171+
_G = _G,
172+
pairs = pairs,
173+
ipairs = ipairs
172174
}
173175

174176
package.__index = package

0 commit comments

Comments
 (0)