[Issue 17455] New: [Functions] Incorrect description of "in" storage class.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue May 30 02:57:32 PDT 2017


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 at puremagic.com
          Reporter: stanislav.blinov at 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'".

--


More information about the Digitalmars-d-bugs mailing list