Justwerk compiler flag
Ogi
ogion.art at gmail.com
Fri Jul 18 16:43:19 UTC 2025
On Thursday, 17 July 2025 at 18:05:08 UTC, Dukc wrote:
> In the case of `@safe` and `private`, can't you simply not use
> them when they get in the way? Mark your function `@system`,
> and bye bye safety checks.
Imagine you want to use a library that have this function:
```D
void coolFunction(void function() @nogc nothrow @safe pure
callback) @nogc nothrow @safe pure
```
Now you are forced to satisfy all these attributes, even if you
don’t care.
More information about the dip.ideas
mailing list