https://issues.dlang.org/show_bug.cgi?id=20447
Issue ID: 20447
Summary: [REG 2.089] importing core.thread exposes unistd,
hiding object.dup
Product: D
Version: D2
Hardware: All
OS: Linux
Status: NEW
Severity: regression
Priority: P1
Component: druntime
Assignee: [email protected]
Reporter: [email protected]
void foo()
{
import core.thread;
int[] a;
auto b = a.dup;
}
dupmess.d(5): Error: function core.sys.posix.unistd.dup(int) is not callable
using argument types (int[])
dupmess.d(5): cannot pass argument a of type int[] to parameter int
--