https://issues.dlang.org/show_bug.cgi?id=12580
Issue ID: 12580
Summary: [REG2.066a] dup() won't accept void[]
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
Today I have just updated DMD from git-head.
So it won't compile the following code.
void main()
{
void[] v = [0];
auto v2 = v.dup;
}
This should be caused by the recent compiler change.
--
