mirror of
https://github.com/dlang/dmd.git
synced 2025-04-29 22:50:27 +03:00
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:
parent
b807892f2d
commit
1a15d20a8a
1 changed files with 8 additions and 1 deletions
|
@ -3925,7 +3925,14 @@ version (CoreUnittest) const(char)* numToStringz()(long value) @trusted pure not
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/+
|
||||||
|
dmd @@@BUG18223@@@
|
||||||
|
A selective import of `AliasSeq` happens to bleed through and causes symbol clashes downstream.
|
||||||
|
+/
|
||||||
|
version (none)
|
||||||
import core.internal.traits : AliasSeq;
|
import core.internal.traits : AliasSeq;
|
||||||
|
else
|
||||||
|
import core.internal.traits;
|
||||||
|
|
||||||
|
|
||||||
/+ An adjusted copy of std.exception.assertThrown. +/
|
/+ An adjusted copy of std.exception.assertThrown. +/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue