<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 25 Aug 2024 at 19:56, Paolo Invernizzi via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Saturday, 24 August 2024 at 17:43:38 UTC, Manu wrote:<br>
> On Sun, 25 Aug 2024 at 03:31, Richard (Rikki) Andrew Cattermole <br>
> via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>> wrote:<br>
><br>
>> On 25/08/2024 5:10 AM, Manu wrote:<br>
>> > [...]<br>
>><br>
>> I've been considering something along these lines.<br>
>><br>
>> Specifically, ``@trusted`` does not mean the entire body <br>
>> shouldn't be verified. It just means that you are going to do <br>
>> something naughty that needs looking at.<br>
>><br>
>> So you need annotated scopes inside of it, to do the naughty <br>
>> thing.<br>
<br>
Just wrote a trusted function and call it: that's the sane way to <br>
do it and respect code reviewer hard job.</blockquote><div><br></div><div>...so, because I'm going to make one single unsafe function call inside of some function, I should eject all other related or unrelated safety checks for the entire surrounding context?</div></div></div>