Skip to content

Fix #4535: Handle Null and Nothing in completions #5744

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

Merged
merged 6 commits into from
Jan 21, 2019

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Jan 18, 2019

We special completion on qualifiers of type Nothing to not return the method on Any.
Also special case completion on qualifiers of type Null to not return completion that involves implicit conversions.

Add missing Artifact to remove $isInstanceOf completion and fix missing decoding for $uXXXX ($u2192 to ).

Copy link
Contributor

@Blaisorblade Blaisorblade left a comment

Choose a reason for hiding this comment

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

This could go in quickly, but see comments?

Do not complete on Nothing and complete as AnyRef for Null.

Add missing Artifact to remove `$isInstanceOf` completion and
workaround missing decoding for `$u2192` to `→`.
We special completion on qualifiers of type Nothing to not return the method on Any.
Also special case completion on qualifiers of type Null to not return completion that involves implicit conversions.
Copy link
Contributor

@Blaisorblade Blaisorblade left a comment

Choose a reason for hiding this comment

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

Looks better now; LGTM after new comments are addressed somehow.

@nicolasstucki nicolasstucki merged commit decdff4 into scala:master Jan 21, 2019
@nicolasstucki nicolasstucki deleted the fix-#4535 branch January 21, 2019 14:06
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.

4 participants