August 25, 2022 [Issue 12986] keywords allowed in module names if no ModuleDeclaration is used | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12986 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WONTFIX --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- Yes, the problem is that the parser expects an identifier not a keyword after the the `module` token. This is a minor limitation and as Walter has pointed out: "I think that 'fixing' this is probably more trouble than its worth. While such modules do work for internal modules that have no D interface, they won't work anyway for regular D modules, and the user will find that out pretty quick." Closing as WONTFIX. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply