DIP 1028 dub packages test package "sml"
anonymous at example.com
Sun Jan 5 00:34:42 UTC 2020
On 04.01.20 23:43, Jon Degenhardt wrote:
> Looking at the tsv-utils error log, an issue that will affect
> applications more often than libraries is that uses of the std.getopt
> package are normally @system. That's because getopt assumes the caller
> will pass the addresses of variables. If the variable is local, the
> compilation will fail in @safe code. The code will typically be "safe"
> in that these references are not leaving the caller's scope, but the
> compiler still rejects the code in @safe mode.
With DIP 1000, that should work. But it looks like std.getopt needs a
An attempt: https://github.com/dlang/phobos/pull/7344
More information about the Digitalmars-d