[Issue 20529] New: Cyclic dependency caused by import of core.time
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 23 15:34:41 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20529
Issue ID: 20529
Summary: Cyclic dependency caused by import of core.time
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: bugzilla at d-ecke.de
Created attachment 1773
--> https://issues.dlang.org/attachment.cgi?id=1773&action=edit
Small example extracted from Phobos with dustmite
Executing run.sh in the attached example yields:
object.Error at src/rt/minfo.d(371): Cyclic dependency between module std.traits
and std.concurrency
std.traits* ->
std.range ->
std.datetime ->
std.datetime.timezone ->
std.concurrency* ->
std.traits*
When you remove the import of core.time in std.datetime this dependency
vanishes.
--
More information about the Digitalmars-d-bugs
mailing list