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

Adam D Ruppe destructionator at gmail.com
Fri May 26 21:11:45 UTC 2023


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.


More information about the Digitalmars-d-learn mailing list