July 23, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3204

           Summary: Document global properties
           Product: D
           Version: unspecified
          Platform: All
               URL: http://digitalmars.com/d/2.0/property.html#classproper
                    ties
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nobody@puremagic.com
        ReportedBy: m.helvensteijn@gmail.com


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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 31, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3204


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com




--- Comment #1 from Walter Bright <bugzilla@digitalmars.com>  2009-08-31 02:56:29 PDT ---
For D2, such "global properties" will no longer be allowed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 31, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3204





--- Comment #2 from Michiel Helvensteijn <m.helvensteijn@gmail.com>  2009-08-31 11:19:57 PDT ---
Is there any particular reason?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 02, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3204





--- Comment #3 from Walter Bright <bugzilla@digitalmars.com>  2009-09-02 01:20:11 PDT ---
No real reason for them to exist.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 19, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3204


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #4 from Walter Bright <bugzilla@digitalmars.com> 2012-01-19 11:17:35 PST ---
Documented global properties.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Top | Discussion index | About this forum | D home