http://d.puremagic.com/issues/show_bug.cgi?id=8437
Summary: [0.60 beta] static struct no size yet for forward reference Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: destructiona...@gmail.com --- Comment #0 from Adam D. Ruppe <destructiona...@gmail.com> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------