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

Fix issue 20609 - Disabled and deprecated functions show up as candidate #10838

Merged
merged 2 commits into from
Mar 1, 2020

Conversation

Geod24
Copy link
Member

@Geod24 Geod24 commented Feb 26, 2020

Do not show disabled functions as candidate or hints.
Only show deprecated functions when inside a deprecated scope.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @Geod24!

Bugzilla references

Auto-close Bugzilla Severity Description
20609 enhancement Disabled and deprecated functions show up as candidate

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "master + dmd#10838"

Do not show disabled functions as candidate or hints.
Only show deprecated functions when inside a deprecated scope.
@Geod24 Geod24 force-pushed the disabled-are-not-candidate branch from 5a7dbaf to fd548dd Compare February 26, 2020 09:36
@Geod24
Copy link
Member Author

Geod24 commented Feb 26, 2020

Removed test for https://issues.dlang.org/show_bug.cgi?id=19419 because it is now fully covered by this issue.

@Geod24
Copy link
Member Author

Geod24 commented Feb 26, 2020

And the registry is down one more time...

@Geod24
Copy link
Member Author

Geod24 commented Feb 29, 2020

This is ready for a merge. The Buildkite failure is because mir-core released a new version yesterday and that apparently broke something.
Submitted a fix: libmir/mir-random#124
Will also look into the dub bug.

@Geod24
Copy link
Member Author

Geod24 commented Mar 1, 2020

Buildkite fixed (looks like all other agents are down BTW...) and 2 approved reviews, so self auto-merging.

@dlang-bot dlang-bot merged commit 144a70a into dlang:master Mar 1, 2020
@Geod24 Geod24 deleted the disabled-are-not-candidate branch March 1, 2020 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants