Complicated @property access only works when I write an extra parenthesis "()"

realhet real_het at hotmail.com
Fri May 26 21:36:10 UTC 2023


On Friday, 26 May 2023 at 21:11:45 UTC, Adam D Ruppe wrote:
> On Friday, 26 May 2023 at 21:00:20 UTC, realhet wrote:
>> Only the extra () let it compile successfuly.
>
> No way to fix it. If the function takes an extra argument you 
> can kinda trick it but for zero arg function pointer return 
> from a property it is just plain broken and has been the whole 
> time.
>
> Don't expect it to ever be fixed.

At least my 5 hour trying-and-failing session comes to a logical 
end here :D

Thank You!



More information about the Digitalmars-d-learn mailing list