Skip to content

std.array.d: Use template `_d_newarrayU{,Trace} #10819

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 1 commit into from
Jul 21, 2025

Conversation

teodutu
Copy link
Member

@teodutu teodutu commented Jul 12, 2025

dlang/dmd#21525 Adds the template _d_newarrayUTrace. To fix dlang/dmd#21033, this commit needs to replace the use of the non-template hook with the newly added template in std.array.d.

@teodutu teodutu requested a review from PetarKirov as a code owner July 12, 2025 05:06
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @teodutu!

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 "stable + phobos#10819"

@teodutu
Copy link
Member Author

teodutu commented Jul 12, 2025

All tests will fail until dlang/dmd#21525 is merged.

@thewilsonator
Copy link
Contributor

Looks like this PR depends on the DMD one. Update the header on that and it should be good to go, then we can get this one in.

@thewilsonator
Copy link
Contributor

rebase to retrigger CI

dlang/dmd#21525 Adds the template `_d_newarrayUTrace`.
To fix dlang/dmd#21033, this commit needs to replace the use of the
non-template hook with the newly added template in `std.array.d`.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
@teodutu
Copy link
Member Author

teodutu commented Jul 20, 2025

rebase to retrigger CI

Done

@thewilsonator thewilsonator merged commit 4fc3fac into dlang:stable Jul 21, 2025
9 of 10 checks passed
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