Yet another leak in the sinking ship of @safe

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 19 18:21:40 PST 2016


On Fri, Feb 19, 2016 at 02:15:30PM -0500, Steven Schveighoffer via Digitalmars-d wrote:
> On 2/19/16 2:00 PM, H. S. Teoh via Digitalmars-d wrote:
> >On Thu, Feb 18, 2016 at 08:37:10AM -0800, H. S. Teoh via Digitalmars-d wrote:
> >[...]
> >>It's bad enough that some Phobos modules (*ahem*std.socket*cough*)
> >>liberally sprinkle @trusted on every function without regard to
> >>whether it's truly justified
> >[...]
> >
> >I don't like being the guy who only whines but does nothing about it,
> >so here's an attempt at plugging at least one of the holes in the
> >@safe cheese grater:
> >
> >	https://github.com/D-Programming-Language/phobos/pull/4011
[...]

Well, that PR would cause too much breakage, so here's an alternative
fix based on what Jakob Ovrum proposed:

	https://github.com/D-Programming-Language/dmd/pull/5468


> >More to come, hopefully. More cheese grater plugs from other
> >contributors will be warmly welcomed, I'm sure (hint, hint!).
> 
> Stick with ship as your metaphore. You *want* holes in your cheese
> grater ;)
[...]

But I'm lactose-intolerant! ;-)


T

-- 
Stop staring at me like that! It's offens... no, you'll hurt your eyes!


More information about the Digitalmars-d mailing list