Skip to content

Commit b91a054

Browse files
committed
Prevent core.internal.traits.AliasSeq from bleeding through core.time
Workaround for: - <#18223> - <dlang/phobos#10610>
1 parent b807892 commit b91a054

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

druntime/src/core/time.d

+8-1
Original file line numberDiff line numberDiff line change
@@ -3925,7 +3925,14 @@ version (CoreUnittest) const(char)* numToStringz()(long value) @trusted pure not
39253925
}
39263926

39273927

3928-
import core.internal.traits : AliasSeq;
3928+
/+
3929+
dmd @@@BUG18223@@@
3930+
A selective import of `AliasSeq` happens to bleed through and causes symbol clashes downstream.
3931+
+/
3932+
version (none)
3933+
import.core.internal.traits : AliasSeq;
3934+
else
3935+
import core.internal.traits;
39293936

39303937

39313938
/+ An adjusted copy of std.exception.assertThrown. +/

0 commit comments

Comments
 (0)