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

           Summary: clarification: assigment to 'this'
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nob...@puremagic.com
        ReportedBy: johannesp...@gmail.com


--- Comment #0 from Johannes Pfau <johannesp...@gmail.com> 2010-02-09 08:02:26 
PST ---
Created an attachment (id=564)
Example of assignment to this

Assigning to 'this' is currently not documented anywhere. Still assigning to
this, at least in constructors, works and is used by some code (gtkd, for
example). I think assigning to this should either work in constructors as it
does right now, but it then should be documented, or it should be disallowed.
If it will stay implementation specific, that should still be noted in the
docs.

see also: http://d.puremagic.com/issues/show_bug.cgi?id=780 The assignment of
'this' is allowed

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

Reply via email to