[Issue 11083] New: Whole global matrix initialization
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Sep 21 05:34:08 PDT 2013
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=11083
           Summary: Whole global matrix initialization
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2013-09-21 05:34:08 PDT ---
I am not sure if this is an enhancement request, but I'd like to initialized
the whole module-level 'a' to a given value:
double[2][2] a = 0.0; // error
void main() {
    double[2][2] b = 0.0; // OK
}
-- 
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