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
+=
local function test(x) x += 1 end
This counts x as used
The text was updated successfully, but these errors were encountered:
It's good to note fixing this could false positive if x implements some metamethod magic, but it's such a niche case it can probably be ignored.
x
Some more cases
Should remain marked as used
local function test(x) x.y += 1 end
Should not be marked as used
local x = {} x.y += 1
local x = a() x.y += 1
Sorry, something went wrong.
No branches or pull requests
This counts x as used
The text was updated successfully, but these errors were encountered: