DIP1000: The return of 'Extend Return Scope Semantics'

Max Haughton maxhaton at gmail.com
Tue May 25 12:52:24 UTC 2021


On Tuesday, 25 May 2021 at 12:48:55 UTC, Dennis wrote:
> 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.

This is unfortunately true.

That being said I think "too hard to implement" is being said a 
lot these days, and it has nothing to do with documentation (in 
light of the other thread).


More information about the Digitalmars-d mailing list