https://issues.dlang.org/show_bug.cgi?id=16283
Steven Schveighoffer <schvei...@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |briancsch...@gmail.com Resolution|INVALID |--- --- Comment #8 from Steven Schveighoffer <schvei...@yahoo.com> --- Sorry, but that's lazy. We can easily express the grammar that a module cannot have a constructor (in contrast to your analogy, there is a separate module grammar from classes, so we have a perfect spot to outlaw it). We put up with a lot of grammar inaccuracies that result in simply ignored attributes. We can do better. Even if the actual code treats the grammar for modules and classes the same, the documentation can reflect the actual result. Right now, it looks like constructors are allowed. CC grammar guru Brian --