[Issue 14125] @trusted nested helper functions in std.file

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Feb 4 18:37:23 PST 2015


https://issues.dlang.org/show_bug.cgi?id=14125

--- Comment #41 from Andrei Alexandrescu <andrei at erdani.com> ---
(In reply to hsteoh from comment #35)
> @Andrei: any @safe function can call a @trusted function that may contain
> arbitrary unsafe operations. Just because something is marked @safe at the
> top guarantees nothing.

Agreed - and that's exactly why we shouldn't abuse it.

--


More information about the Digitalmars-d-bugs mailing list