digitalmars.D.bugs - [Issue 16283] New: [Modules]
- via Digitalmars-d-bugs (23/23) Jul 14 2016 https://issues.dlang.org/show_bug.cgi?id=16283
https://issues.dlang.org/show_bug.cgi?id=16283 Issue ID: 16283 Summary: [Modules] Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: enhancement Priority: P3 Component: dlang.org Assignee: nobody puremagic.com Reporter: webhenryblock gmail.com DeclDef says it can contain a constructor, but when I type, this() { } I see this, t.d(1): Error: constructor can only be a member of aggregate, not module t I also noticed these errors for destructors and invariants. Do I misunderstand the grammar? I'll make a diff after checking the other productions if I'm not already barking up the wrong tree? --
Jul 14 2016