Tasks, actors and garbage collection
Stefan Koch
uplink.coder at googlemail.com
Tue Apr 20 17:09:48 UTC 2021
On Tuesday, 20 April 2021 at 16:44:01 UTC, russhy wrote:
> And no, no @ could save us
>
> ```D
> @safe @system @pure @nogc @noreturn @help @nothrow void
> doSomethingForMePlease()
> {
> writeln("is this where we want to go?");
> }
>
> ```
Invalid @safe and @system contradict each other.
Also noreturn is not an annotation it's a type.
pure and nothrow are not annotations either they are keywords,
though they arguably should be an annotations.
More information about the Digitalmars-d
mailing list