https://issues.dlang.org/show_bug.cgi?id=14137
hst...@quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hst...@quickfur.ath.cx --- Comment #2 from hst...@quickfur.ath.cx --- This is very bad. getAddressInfo() takes an ARBITRARY TYPE for its `options` parameter, yet it's marked @trusted ??! That's clearly ridiculous. What we need is a @safe unittest to ensure that it does not add any non-safety in the function body, but let the compiler determine whether the resulting combination with T is actually @safe. Unfortunately, even this is not enough, because getAddressInfoImpl is @system, so we need to wrap the call to it in a @trusted nested function. Ugh. --