Summary: [0.60 beta] static struct no size yet for forward
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Adam D. Ruppe <> 2012-07-25 
09:47:01 PDT ---
I just tried the dmd 2.060 beta on my work app and got an error that
wasn't present on 2.059. This is trimmed down as small as I can:

class Cgi {
        struct PostParserState {
                UploadedFile piece;

        static struct UploadedFile {
                string contentFilename;

$ dmd -c regression.d
regression.d(6): Error: struct regression.Cgi.UploadedFile no size yet for
forward reference

If I take the static off of UploadedFile, the error goes away. Or
I can swap the order of the definitions and the error goes away, but
it used to work the way it is.

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

Reply via email to