Thread overview | |||||
---|---|---|---|---|---|
|
May 24, 2011 [Issue 6051] New: struct declarations allow a trailing semicolon | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6051 Summary: struct declarations allow a trailing semicolon Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: blood.of.life@gmail.com --- Comment #0 from Bernard Helyer <blood.of.life@gmail.com> 2011-05-24 06:23:42 PDT --- struct A { int foo; }; DMD allows this. This is not mentioned in the documentation. One or the other is incorrect. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 24, 2011 [Issue 6051] struct declarations allow a trailing semicolon | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bernard Helyer | http://d.puremagic.com/issues/show_bug.cgi?id=6051 Bernard Helyer <blood.of.life@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Bernard Helyer <blood.of.life@gmail.com> 2011-05-24 06:25:45 PDT --- Empty declaration. Derp. Nevermind. ;;;;;;;;;;;;;;;;;;;;;;;;;; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 24, 2011 [Issue 6051] struct declarations allow a trailing semicolon | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bernard Helyer | http://d.puremagic.com/issues/show_bug.cgi?id=6051 bearophile_hugs@eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs@eml.cc --- Comment #2 from bearophile_hugs@eml.cc 2011-05-24 10:22:13 PDT --- On the other hand I remember Andrei saying something about empty statements. Currently you can't write for(); I think he was looking for more uniformity. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation