[Issue 8914] Wrong `escaping reference` error on returning static array

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 24 12:12:39 PDT 2015


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

John Colvin <john.loughran.colvin at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.loughran.colvin at gmail.
                   |                            |com

--- Comment #1 from John Colvin <john.loughran.colvin at gmail.com> ---
This is still happening.

Workaround is to create a temporary and hope the compiler elides it.

--


More information about the Digitalmars-d-bugs mailing list