From 1a15d20a8a27bae38f65fc96d5396be5c80b79ef Mon Sep 17 00:00:00 2001 From: Elias Batek Date: Sun, 5 Jan 2025 11:50:19 +0100 Subject: [PATCH] Prevent `core.internal.traits.AliasSeq` from bleeding through `core.time` (#20638) Workaround for: - - --- druntime/src/core/time.d | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/druntime/src/core/time.d b/druntime/src/core/time.d index dc79141efa7b..b0ac50b2cee1 100644 --- a/druntime/src/core/time.d +++ b/druntime/src/core/time.d @@ -3925,7 +3925,14 @@ version (CoreUnittest) const(char)* numToStringz()(long value) @trusted pure not } -import core.internal.traits : AliasSeq; +/+ + dmd @@@BUG18223@@@ + A selective import of `AliasSeq` happens to bleed through and causes symbol clashes downstream. + +/ +version (none) + import core.internal.traits : AliasSeq; +else + import core.internal.traits; /+ An adjusted copy of std.exception.assertThrown. +/