How are delegate attributes in fn signature inferred?

wjoe invalid at example.com
Mon May 23 14:46:21 UTC 2022


On Monday, 23 May 2022 at 13:53:02 UTC, Adam D Ruppe wrote:
> On Monday, 23 May 2022 at 13:44:53 UTC, wjoe wrote:
>>   [...]
>
> You can actually make this work with `construct!(int[])` rather 
> than plain `construct`. This is a (really annoying) deficiency 
> in dmd's implementation. (that sdc solved btw proving it can be 
> done just dmd never bothered)
>
> [...]

I see. I figured the issue was an attribute mismatch.

Thanks for the explanation. Very much appreciated!


More information about the Digitalmars-d-learn mailing list