www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17455] New: [Functions] Incorrect description of "in" storage

https://issues.dlang.org/show_bug.cgi?id=17455

          Issue ID: 17455
           Summary: [Functions] Incorrect description of "in" storage
                    class.
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: stanislav.blinov gmail.com

https://dlang.org/spec/function.html#parameters

In the description of parameter storage classes:

`in` -- equivalent to `const scope`

However, according to http://forum.dlang.org/post/o6m17i$1jh7$1 digitalmars.com
and https://github.com/dlang/druntime/pull/1740, "in 'pretty much just means
const'".

--
May 30