Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Wierd lua warning in roblox studio? its filling my script analysis element!

Asked by 5 years ago

so i opened roblox studio to work on a game, and then i saw these lua warnings from these files:

instance.RoactRoduxImpl.shallowEqual.spec
Instance.RoduxImpl.Store.spec

and many more..

i dont know what these files are but there are a total of 500+ warnings heres one of the many files:

return function()
    local createElement = require(script.Parent.createElement)

    local oneChild = require(script.Parent.oneChild)

    it("should get zero children from a table", function()
        local children = {}

        expect(oneChild(children)).to.equal(nil)
    end)

    it("should get exactly one child", function()
        local child = createElement("Frame")
        local children = {
            foo = child,
        }

        expect(oneChild(children)).to.equal(child)
    end)

    it("should error with more than one child", function()
        local children = {
            a = createElement("Frame"),
            b = createElement("Frame"),
        }

        expect(function()
            oneChild(children)
        end).to.throw()
    end)

    it("should handle being passed nil", function()
        expect(oneChild(nil)).to.equal(nil)
    end)
end

does anyone know what this is? it does not seem to be effecting usability that much.. but it fills my script analysis element and i would like to fix those warnings

0
or if there was some way to ignore those scripts hank211 0 — 5y
0
Is this Busted User#6546 35 — 5y
0
i have not fixed it yet hank211 0 — 5y
0
Roblox is not compatible with Roblox. hiimgoodpack 2009 — 5y

Answer this question