[Issue 12050] in does not work as storage class where const scope does

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 29 09:31:58 UTC 2023


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

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

--- Comment #3 from RazvanN <razvan.nitu1305 at gmail.com> ---
In, according to the spec, can only be used on function parameters. Only in
that context is "in" treated as const scope or just scope. Therefore, in cannot
be used in all contexts `scope const` is. This bug report is invalid.

--


More information about the Digitalmars-d-bugs mailing list