-
-
Notifications
You must be signed in to change notification settings - Fork 702
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
Add messages to some asserts in std/socket.d #7039
Conversation
Thanks for your pull request and interest in making D better, @Flying-Toast! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf 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 + phobos#7039" |
I'm not sure what the message should be for this assert: Line 970 in 64eac95
|
cc @CyberShadow |
AFAICT that can never happen, so that assert can probably be removed. Both POSIX[1] and Windows[2] will always return "one or more" results when Line 956 in 64eac95
[1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/getaddrinfo.html |
I think it's better to keep that. If the |
Work on project #2