DIP1000: The return of 'Extend Return Scope Semantics'

Dennis dkorpel at gmail.com
Tue May 25 12:48:55 UTC 2021


On Tuesday, 25 May 2021 at 11:50:29 UTC, Max Haughton wrote:
> I think the Franklin solution is the best one presented here.

It looks nice, but it's also the one with the most implementation 
work. It requires a change to the parser (+libdparse), new 
mangling rules, and if we want to support it: it opens the door 
for multiple return parameters with different destinations.

Looking at the implementation 
[dmd.escape(603)](https://github.com/dlang/dmd/blob/a7cf02c8bb124f5d5a05b9d238f71d2c0773dc51/src/dmd/escape.d#L603), it's not going to be me who will be able to implement that any time soon.


More information about the Digitalmars-d mailing list