www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12580] New: [REG2.066a] dup() won't accept void[]


          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 puremagic.com
          Reporter: jiki 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.

Apr 14 2014