We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
here's an example:
a game has the function foo it calls, but it lets the lua file define it
foo
function foo() local x = math.random(1, 999) draw.bars_on_screen(x) x = math.some_stuff(10, x) draw.some_more_baz(x) end
i have allow_defined enabled, and draw and it's fields defined in std
allow_defined
draw
foo() doesn't come up in the rest of the lua file, so it now warns that foo() is an unused global
foo()
i'm suggesting that when this new option is enabled then if it is both defined in std and implicitly inside the file, then don't warn about it.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
here's an example:
a game has the function
foo
it calls, but it lets the lua file define iti have
allow_defined
enabled, anddraw
and it's fields defined in stdfoo()
doesn't come up in the rest of the lua file, so it now warns thatfoo()
is an unused globali'm suggesting that when this new option is enabled then if it is both defined in std and implicitly inside the file, then don't warn about it.
The text was updated successfully, but these errors were encountered: