I opened new issue: https://issues.dlang.org/show_bug.cgi?id=12986
This question seems more fit for the main D newsgroup.
Should I create new thread in the main newsgroup?
Look in Bugzilla if there is a enhancement request.
Yeah. I found one: https://issues.dlang.org/show_bug.cgi?id=456
On Sunday, 22 June 2014 at 12:52:11 UTC, sigod wrote:
module.d: (or just `module module;` in source file)
I was wrong about `module module;` declaration.
sigod:
Shouldn't keywords be disallowed for module names?
I agree. (Walter seems not too keen on strictness). This question
seems more fit for the main D newsgroup. Look in Bugzilla if
there is a enhancement request.
Bye,
bearophile
E.g.:
module.d: (or just `module module;` in source file)
```
import std.stdio;
void main() {
foreach (m; __traits(allMembers, mixin(__MODULE__))) { //
module.d-mixin-4(4): Error: expression expected, not 'module'
writeln(m);
}
}
```
Documentation says:
Package names cannot be