Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit fca2892

Browse files
authored
Merge pull request #2048 from wilzbach/fix-circleci
Attempt to fix CircleCi
2 parents b09663d + 2d45fcb commit fca2892

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/core/time.d

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,11 @@ public:
523523
foreach(U; _TypeTuple!(Duration, const Duration, immutable Duration))
524524
{
525525
T t = 42;
526-
U u = t;
526+
// workaround https://issues.dlang.org/show_bug.cgi?id=18296
527+
version (D_Coverage)
528+
U u = T(t._hnsecs);
529+
else
530+
U u = t;
527531
assert(t == u);
528532
assert(copy(t) == u);
529533
assert(t == copy(u));

0 commit comments

Comments
 (0)