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

bugfix: navigation for apply function in a companion object #4914

Closed
wants to merge 1 commit into from

Conversation

kasiaMarek
Copy link
Contributor

Previously: ScalaMtags indexer would not take notice of the automatically created apply function that is produced in a companion object for a case class. This lead to the disambiguator counter to be off by one and goto pointing to the wrong reference.
Now: we make sure that classes are indexed before objects and record found case class to fix the disambiguator counter for apply.

resolves #4769

Previously: ScalaMtags indexer would not take notice of the automatically created apply function that is produced in a companion object for a case class. This lead to the disambiguator counter to be off by one and goto pointing to the wrong reference.
Now: we make sure that classes are indexed before objects and record found case class to fix the disambiguator counter for apply.
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.

Incorrect goto definition for overloaded apply in another file
1 participant