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

fix: fix duplicate imports in sniper mode #3388

Merged
merged 2 commits into from
Jun 3, 2020

Conversation

monperrus
Copy link
Collaborator

fix #3267
close #3369

I don't manage to isolate a small reproducing test case from #3369

Cause of the bug: as usual with sniper bugs, the traversal order must be as close to the original file as possible

Fix: traverse the imports with the original order

@monperrus
Copy link
Collaborator Author

@nharrand ready for merge

@nharrand nharrand merged commit e980d36 into INRIA:master Jun 3, 2020
@nharrand
Copy link
Collaborator

nharrand commented Jun 3, 2020

LGTM!

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

Successfully merging this pull request may close these issues.

Duplicate imports
2 participants