Trying to use Mir ion, its a perfect example of the failure of D's attribute system

Walter Bright newshound2 at digitalmars.com
Fri Jan 20 03:41:02 UTC 2023


On 1/19/2023 7:19 PM, H. S. Teoh wrote:
> This is a flaw in the language: there is no way to express that
> `process`'s attributes inherit from the passed-in delegate.  This has
> been a pain point for years.

void process()(void delegate() userData) {}



More information about the Digitalmars-d mailing list