[Issue 9141] New: Incorrect "more initializers than fields" error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 10 23:17:44 PST 2012


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

           Summary: Incorrect "more initializers than fields" error
           Product: D
           Version: D1
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: verylonglogin.reg at gmail.com


--- Comment #0 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2012-12-11 10:17:41 MSK ---
---
struct S {
    int i;
    const s = S(0); // Error: more initializers than fields of S
}
---

-- 
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