[Issue 6402] New: Note on @property in spec needs updating

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 29 16:06:54 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6402

           Summary: Note on @property in spec needs updating
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody at puremagic.com
        ReportedBy: jmdavisProg at gmx.com


--- Comment #0 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-07-29 16:06:51 PDT ---
On http://www.d-programming-language.org/property.html, this note is not
exactly correct:

"Note: Prop­er­ties cur­rently can­not be the lvalue of an op=, ++, or --
op­er­a­tor."

If the properties return ref, then op=, ++, and -- should work. AFAIK, the note
is correct for non-ref properties though.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list