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

Constant used only as array index is removed/not imported #56

Open
pedroserra opened this issue Feb 16, 2021 · 0 comments
Open

Constant used only as array index is removed/not imported #56

pedroserra opened this issue Feb 16, 2021 · 0 comments

Comments

@pedroserra
Copy link

Let's say that I have a constant used like

doSomething( catalog[CATEGORY_PACKAGES] );

since the constant is only used as an index, it won't be imported and if manually added it will be removed the next time I use the fix imports.

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