<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 25 Aug 2024 at 03:31, Richard (Rikki) Andrew Cattermole 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 25/08/2024 5:10 AM, Manu wrote:<br>
> I might have been inclined to back you on that one... that said though, <br>
> the real solution to that category of problem is to accept that we need <br>
> annotated scopes.<br>
> We need to have:<br>
> <br>
> @trusted {<br>
>    some_code;<br>
> }<br>
<br>
I've been considering something along these lines.<br>
<br>
Specifically, ``@trusted`` does not mean the entire body shouldn't be <br>
verified. It just means that you are going to do something naughty that <br>
needs looking at.<br>
<br>
So you need annotated scopes inside of it, to do the naughty thing.</blockquote><div><br></div><div>Yes, this isn't a new conversation! We've all been begging for this since literally the day it landed ;)<br></div></div></div>