Thread overview
[Issue 1521] New: Umbiguous documentation
Sep 19, 2007
d-bugmail
[Issue 1521] Ambiguous documentation
Jan 21, 2012
Walter Bright
September 19, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1521

           Summary: Umbiguous documentation
           Product: D
           Version: unspecified
          Platform: All
               URL: http://www.digitalmars.com/d/memory.html#stackclass
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P4
         Component: www.digitalmars.com
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: d@friedelprivat.de


The documentation currently reads as follows:

Class instances are normally allocated on the garbage collected heap. However, if they:

    * are allocated as local symbols in a function
    * are allocated using new
    * use new with no arguments
    * have the scope storage class

It's umbiguous if all items of the list are required as condition, or only one
of them.
The chapter should be rephrased to make clear that all conditions have to me
true before the object is put on stack ("and" nor "or").


-- 

January 21, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=1521



--- Comment #1 from github-bugzilla@puremagic.com 2012-01-21 10:45:30 PST ---
Commit pushed to https://github.com/D-Programming-Language/d-programming-language.org

https://github.com/D-Programming-Language/d-programming-language.org/commit/3d22dec01aac1c6a436fb82849fba49411f9e97e fix Issue 1521 - Ambiguous documentation

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


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


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