Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Jun 24, 2019

Filter candidate definitions for member suggestions to be either types or terms,
depending on the selection name.

odersky added 2 commits June 24, 2019 14:41
Filter candidate definitions for member suggestions to be either types or terms,
depending on the selection name.
@odersky odersky merged commit 1268474 into scala:master Jun 24, 2019
@allanrenucci allanrenucci deleted the fix-#6724 branch June 24, 2019 14:31
1 | import util.foo
| ^^^
| value foo is not a member of util - did you mean util.Left?
| value foo is not a member of util - did you mean util.Try?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain this one to me? import util.Left is invalid? Or did it change because Try has a higher priority on the list of suggestions?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or did it change because Try has a higher priority on the list of suggestions?

Something like that yeah. Ideally it should just not offer any suggestion at all when there's nothing close to what the user has written.

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.

3 participants