Bug 6920 – static on module constructors/destructors is redundant
Status
RESOLVED
Resolution
WONTFIX
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-11-09T10:18:00Z
Last change time
2016-10-15T01:18:55Z
Assigned to
nobody
Creator
alex
Comments
Comment #0 by alex — 2011-11-09T10:18:49Z
Currently, 'static' is required on module constructors and destructors. This seems like an extremely odd decision, considering module fields and functions do not need this modifier. I propose removing this requirement.
Comment #1 by andrei — 2016-10-15T01:18:55Z
It's a sensible proposal, but its time has sadly passed.