[Issue 7810] [CTFE] Typesafe variadic function with array of structs
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Oct  1 06:17:31 PDT 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=7810
--- Comment #9 from Don <clugdbug at yahoo.com.au> 2012-10-01 06:17:47 PDT ---
Further reduced shows it's a problem with void initialized static arrays. I
have a fix.
int bug7810() {
    int[1][3] x = void;
    x[0] = [2];
    x[1] = [7];
    assert(x[0][0] == 2);
    return 1;
}
static assert(bug7810());
-- 
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