On Sunday, 12 January 2020 at 12:28:23 UTC, berni44 wrote:
> With @safe being the default, a typical hello-world-program
> would need @system. I don't like this.
writeln is @safe as long as you use it with safe arguments.
import std.stdio;
@safe:
void main() {
writeln("Hello, world!");
}
Compiles without errors.