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

co-locate overloads of std.algorithm.mutation.swap() #8951

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

WalterBright
Copy link
Member

The two overloads are widely separated. This puts them together for easier study. The changes are mostly indenting.

Also has its own error message rather than the compiler generated one.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Your 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 locally

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

dub run digger -- build "master + phobos#8951"

@WalterBright WalterBright force-pushed the swapOverload branch 2 times, most recently from 67246e1 to 41a1d0f Compare March 18, 2024 17:14
@WalterBright
Copy link
Member Author

Gave up on the own message and the merge. Just co-located them.

@WalterBright WalterBright changed the title merge overloads of std.algorithm.mutation.swap() co-locate overloads of std.algorithm.mutation.swap() Mar 18, 2024
@WalterBright
Copy link
Member Author

dstyle fails with no message.

@dkorpel
Copy link
Contributor

dkorpel commented Mar 19, 2024

Error: The command was interrupted by a signal: signal: terminated

It looks like DScanner was stuck in a loop for an hour and got terminated

Co-authored-by: Dennis <dkorpel@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants