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

Prevent core.internal.traits.AliasSeq from bleeding through core.time #20638

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

0xEAB
Copy link
Member

@0xEAB 0xEAB commented Jan 5, 2025

As outlined in #18223, the AliasSeq symbol imported by core.time can bleed through and lead to symbol clashes.
See also: dlang/phobos#10610 (comment)

I’m aware this workaround ain’t pretty.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @0xEAB!

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 + dmd#20638"

@0xEAB 0xEAB added the Druntime Specific to druntime label Jan 5, 2025
Copy link
Contributor

@thewilsonator thewilsonator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise looks good.

@0xEAB 0xEAB force-pushed the phobos-10610 branch 2 times, most recently from cbdee26 to b91a054 Compare January 5, 2025 00:45
@thewilsonator thewilsonator merged commit 1a15d20 into dlang:master Jan 5, 2025
41 checks passed
@ryuukk
Copy link
Contributor

ryuukk commented Jan 5, 2025

i'm curious to know why version(none) is needed here?

@0xEAB
Copy link
Member Author

0xEAB commented Jan 7, 2025

@ryuukk wrote:
i'm curious to know why version(none) is needed here?

It’s prettier than a plain boring comment. Also, it was suggested by a reviewer – the initial patch didn’t have it originally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Druntime Specific to druntime Merge:auto-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants