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

Completion bug around use ... as ... syntax #917

Closed
kngwyu opened this issue Aug 6, 2018 · 2 comments
Closed

Completion bug around use ... as ... syntax #917

kngwyu opened this issue Aug 6, 2018 · 2 comments
Labels

Comments

@kngwyu
Copy link
Collaborator

kngwyu commented Aug 6, 2018

See racer-rust/emacs-racer#105

@kngwyu kngwyu changed the title Bug around use ... as ... syntax Completion ug around use ... as ... syntax Aug 6, 2018
@kngwyu kngwyu changed the title Completion ug around use ... as ... syntax Completion bug around use ... as ... syntax Aug 6, 2018
@kngwyu kngwyu added the bug label Aug 6, 2018
@letmutx
Copy link
Contributor

letmutx commented Oct 15, 2018

This is because when matches in use statements are returned, their matchstr is replaced with the path alias and subsequent searches are done using the matchstr instead of the original name. To fix this we need a pass context boolean which denotes whether or not to replace the matchstr.

@kngwyu
Copy link
Collaborator Author

kngwyu commented Oct 21, 2018

@letmutx
Good catch, thanks.

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

No branches or pull requests

2 participants