www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5458] New: scope for function parameters is not documented

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5458

           Summary: scope for function parameters is not documented
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



08:06:00 PST ---
A user asked on SO about the semantics of scope in function parameters:
http://stackoverflow.com/questions/4711309/meaning-of-scope-in-d-for-a-parameter

It seems this isn't documented in the functions section:
http://www.digitalmars.com/d/2.0/function.html

It does say that the in storage class is equivalent to const scope, but it
never defines what const does in function parameters. Could we please add this
to the docs?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 17 2011
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5458


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

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



08:24:46 PDT ---
Fixed in 2.054

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