[Issue 16283] New: [Modules]
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jul 14 14:44:24 PDT 2016
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 at puremagic.com
Reporter: webhenryblock at 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?
--
More information about the Digitalmars-d-bugs
mailing list