[Issue 17512] [REG 2.073] wrong deduction of "return" function attribute

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 15 15:00:31 PDT 2017


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

johanengelen at weka.io changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|regression                  |normal

--- Comment #1 from johanengelen at weka.io ---
Wait... is this even valid code?
It's escaping a reference to a local value.

The error message could be much improved.

--


More information about the Digitalmars-d-bugs mailing list