[Issue 20447] [REG 2.089] importing core.thread exposes unistd, hiding object.dup

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 4 16:56:40 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20447

Rainer Schuetze <r.sagitario at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario at gmx.de

--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> ---
(In reply to Walter Bright from comment #1)
> I don't know why this is a regression. .dup was added to
> core.sys.posix.unistd 5 years ago?

The test case compiles up to 2.089. core.thread was refactored to a package,
and this seems to uncover a bug with public imports leaking through private
imports.

--


More information about the Digitalmars-d-bugs mailing list