[Issue 17362] Don't infer return attribute for explicit scope arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 3 09:16:10 UTC 2018


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at digitalmars.com
         Resolution|---                         |INVALID

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
Inference of attributes is done for each attribute independently of any others,
this is the way it is supposed to work.

The compiler should catch any bugs where i is returned and then used wrongly.
If that is not so, then please file a bug report for that.

--


More information about the Digitalmars-d-bugs mailing list