[Issue 20881] [DIP1000] scope inference turns return-ref into return-scope

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 24 15:18:51 UTC 2021


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

Dennis <dkorpel at live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel at live.nl
            Summary|[DIP1000] Templates seem to |[DIP1000] scope inference
                   |ignore 'return'             |turns return-ref into
                   |(workaround)                |return-scope

--- Comment #8 from Dennis <dkorpel at live.nl> ---
There's multiple things going on, so I'm going to limit this issue to "scope
inference turns return-ref into return-scope", the issue that the compiler
confuses `return scope` and `return ref` internally should be covered by issue
22108 and issue 22541.

--


More information about the Digitalmars-d-bugs mailing list