Discussion Thread: DIP 1032--Function pointers and Delegate Parameters...--Community Review Round 1

Mathias LANG geod24 at gmail.com
Fri Apr 3 13:15:37 UTC 2020


On Friday, 3 April 2020 at 10:30:33 UTC, Mike Parker wrote:
> This is the discussion thread for the first round of Community 
> Review of DIP 1032, "Function pointers and Delegate Parameters 
> Inherit Attributes from Function":
>
> https://github.com/dlang/DIPs/blob/0c99bd854302ade3e6833080410e9050fddec346/DIPs/DIP1032.md
>

Already gave my review on it: 
https://github.com/dlang/DIPs/pull/170#pullrequestreview-294073723
I would very much welcome a way to express a relationship between 
the delegate's attributes and the function's attributes. But this 
piece of magic ? No thanks. The change itself is bad on its own, 
and only marginally useful if the `lazy` case is the only one 
considered.


More information about the Digitalmars-d mailing list