Bug 3204 – Document global properties

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2009-07-23T12:30:00Z
Last change time
2015-06-09T01:31:20Z
Keywords
spec
Assigned to
nobody
Creator
m.helvensteijn
Blocks
677

Comments

Comment #0 by m.helvensteijn — 2009-07-23T12:30:41Z
The spec page that describes properties implies that user defined properties (using get/set methods) can only be members of classes/structs. But in fact the 'property syntax' also works for global functions. This should be reflected in the documentation.
Comment #1 by bugzilla — 2009-08-31T02:56:29Z
For D2, such "global properties" will no longer be allowed.
Comment #2 by m.helvensteijn — 2009-08-31T11:19:57Z
Is there any particular reason?
Comment #3 by bugzilla — 2009-09-02T01:20:11Z
No real reason for them to exist.
Comment #4 by bugzilla — 2012-01-19T11:17:35Z
Documented global properties.