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

Workaround for:

- <https://github.com/dlang/dmd/issues/18223>
- <https://github.com/dlang/phobos/issues/10610>
This commit is contained in:
Elias Batek 2025-01-05 11:50:19 +01:00 committed by GitHub
parent b807892f2d
commit 1a15d20a8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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. +/