[Issue 14125] std.file has gotten out of hand

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Feb 4 16:48:44 PST 2015


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

David Nadlinger <code at klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at klickverbot.at

--- Comment #16 from David Nadlinger <code at klickverbot.at> ---
(In reply to Dicebot from comment #12)
> It would help a lot if `() @trusted { foo(); }` lambdas could be 100%
> inlined - then those could be used instead to prevent accidentla reusage of
> wrapper in wrong context.

This. Solves the visual noise problem while keeping the good parts (only mark
trusted what really needs to be).

In fact this has already been brought up in the "@trusted considered harmful"
thread I started a couple of years (?) ago.

--


More information about the Digitalmars-d-bugs mailing list