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

Go to definition on import symbols hangs #151

Closed
olafurpg opened this issue Dec 22, 2017 · 1 comment
Closed

Go to definition on import symbols hangs #151

olafurpg opened this issue Dec 22, 2017 · 1 comment

Comments

@olafurpg
Copy link
Member

import scala.concurrent.Future

Jumping to "Future" starts a progress bar that never ends. Import symbols can be Symbol.Multi, since an import can refer to either a type or term symbol

16:14:56.672 INFO  s.m.l.s.InMemorySymbolIndex - Matching symbol _root_.scala.concurrent.Future.;_root_.scala.concurrent.Future#

We should split the symbol by ; and lookup each symbol individually and return alternatives for multiple responses (e.g., class + object positions).

@olafurpg
Copy link
Member Author

Fixed in #332. Scalameta v4 no longer emits multi symbols, instead it emits two symbol occurrences for an ambiguous reference.

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