[Issue 7493] Initialization of void[][N]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 19 22:24:08 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7493


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au
            Version|D1                          |D1 & D2


--- Comment #2 from Don <clugdbug at yahoo.com.au> 2012-03-19 22:24:25 PDT ---
Also applies to D2. The problem is that there are two possible interpretations:

void[] x = [str];
typeof(x)[1] = x;

void[] y = str;
typeof(y)[1] = [ y ];

I think this should be an error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list