[Issue 12580] New: [REG2.066a] dup() won't accept void[]
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 14 21:51:29 PDT 2014
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: nobody at puremagic.com
Reporter: jiki at red.email.ne.jp
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.
--
More information about the Digitalmars-d-bugs
mailing list