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

Variables aren't imported #480

Open
trotzig opened this issue Dec 5, 2017 · 1 comment
Open

Variables aren't imported #480

trotzig opened this issue Dec 5, 2017 · 1 comment

Comments

@trotzig
Copy link
Collaborator

trotzig commented Dec 5, 2017

Originally reported by @ivangeorgiew in #476, but moved here to better capture things:

Thanks, its working now. However I found other bugs with fixImports:
Here MY_VAR isn't imported.

const bla = {
keyName: obj[MY_VAR]
}
Desctructured aliases are imported, but they shouldn't be:
myAlias shouldn't be imported.

const { prop: myAlias } = obj

@trotzig
Copy link
Collaborator Author

trotzig commented Dec 5, 2017

I've got a lot on my plate right now, so I won't get to this in a while. If anyone is willing to give it a go, here's a good commit to use for inspiration:
2f1ced7

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