Skip to content
New issue

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

Unused assignment when not checking #16

Open
QartemisT opened this issue Jun 28, 2020 · 1 comment
Open

Unused assignment when not checking #16

QartemisT opened this issue Jun 28, 2020 · 1 comment

Comments

@QartemisT
Copy link

QartemisT commented Jun 28, 2020

When defining a variable, and then checking if it doesn't exist and overriding it, it flags the original as unused.

Example:

local test = _G["Test"] -- This is flag as unused

if not test then
	test = CreateFrame("Frame", "Test")
end

test:SomeFunc()
@QartemisT
Copy link
Author

Edit;

This appears to have just been started with the latest update, caused by 3901ebf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant