Compare commits

...

2 commits

Author SHA1 Message Date
lolmanurfunny
6864c344b8
Merge 3a560393f1 into b29f6c5037 2025-03-07 19:54:57 +01:00
lolmanurfunny
b29f6c5037
Remove unused EMPTY_QUERY table (#204)
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-03-07 19:54:44 +01:00

View file

@ -1226,27 +1226,6 @@ end
local function NOOP() end
local function ARM(query, ...)
return query
end
local EMPTY_LIST = {}
local EMPTY_QUERY = {
__iter = function()
return NOOP
end,
iter = function()
return NOOP
end,
with = ARM,
without = ARM,
archetypes = function()
return EMPTY_LIST
end,
}
setmetatable(EMPTY_QUERY, EMPTY_QUERY)
type QueryInner = {
compatible_archetypes: { Archetype },
ids: { i53 },