Skip to content

Commit

Permalink
Prevent core.internal.traits.AliasSeq from bleeding through `core.t…
Browse files Browse the repository at this point in the history
…ime` (#20638)

Workaround for:

- <#18223>
- <dlang/phobos#10610>
  • Loading branch information
0xEAB authored Jan 5, 2025
1 parent b807892 commit 1a15d20
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion druntime/src/core/time.d
Original file line number Diff line number Diff line change
Expand Up @@ -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. +/
Expand Down

0 comments on commit 1a15d20

Please sign in to comment.