[Issue 19384] [Codegen] Address of stack temporary is returned

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 6 09:55:00 UTC 2020


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

--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
Replace the `ref uint` return with a `uint*` pointer and it works. So, the
problem must be in the logic that treats a pointer return, but not a ref
return.

--


More information about the Digitalmars-d-bugs mailing list