Skip to content

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>
@thewilsonator thewilsonator merged commit a51c0ea into dlang:master Oct 18, 2024
5 of 10 checks passed
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.

5 participants