Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
December 18, 2019 [Issue 20447] [REG 2.089] importing core.thread exposes unistd, hiding object.dup | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20447 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> --- I don't know why this is a regression. .dup was added to core.sys.posix.unistd 5 years ago? -- |
January 04, 2020 [Issue 20447] [REG 2.089] importing core.thread exposes unistd, hiding object.dup | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20447 Rainer Schuetze <r.sagitario@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |r.sagitario@gmx.de --- Comment #2 from Rainer Schuetze <r.sagitario@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. -- |
January 05, 2020 [Issue 20447] [REG 2.089] importing core.thread exposes unistd, hiding object.dup | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20447 --- Comment #3 from Rainer Schuetze <r.sagitario@gmx.de> --- I've dustmited it to this: --- test.d void foo() { import p.b; int[] x; auto b = x.dup; } --- p/b.d module p.b; package import p.c; --- p/c.d module p.c; void dup(int); i.e. a package import leaks. Probably related: https://issues.dlang.org/show_bug.cgi?id=11065 -- |
January 05, 2020 [Issue 20447] [REG 2.089] importing core.thread exposes unistd, hiding object.dup | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20447 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> --- @rainers created dlang/druntime pull request #2895 "fix Issue 20447 - [REG 2.089] importing core.thread exposes unistd, hidin…" fixing this issue: - fix Issue 20447 - [REG 2.089] importing core.thread exposes unistd, hiding object.dup avoid package import, it doesn't work as one would guess (due to spec missing) https://github.com/dlang/druntime/pull/2895 -- |
January 05, 2020 [Issue 20447] [REG 2.089] importing core.thread exposes unistd, hiding object.dup | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20447 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/druntime pull request #2895 "fix Issue 20447 - [REG 2.089] importing core.thread exposes unistd, hidin…" was merged into stable: - c85fc34e62afd1d61d24f5cbd2f936691b57b701 by Rainer Schuetze: fix Issue 20447 - [REG 2.089] importing core.thread exposes unistd, hiding object.dup avoid package import, it doesn't work as one would guess (due to spec missing) https://github.com/dlang/druntime/pull/2895 -- |
Copyright © 1999-2021 by the D Language Foundation