Summary: CTFE: poor error message for use of uninitialized
           Product: D
           Version: 1.055
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Don <> 2010-03-08 11:16:54 PST ---
The code below generates the error "void initializer has no value"
which is a bit unclear.
(I'm entering this bug only because I've fixed it in another patch).

int gar()
   ArrayRet z = void;
   ArrayRet w = z;
   z.x += 2;
   return z.x;
static assert(gar()==2);

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to