On Borrow Checking

Dennis dkorpel at gmail.com
Fri May 2 13:05:05 UTC 2025


On Friday, 2 May 2025 at 07:44:52 UTC, Manu wrote:
> On a slight tangent; why do I need to attribute the function at 
> all for it check `scope` args don't escape?

You don't need @live for that, only @safe and -preview=dip1000. 
@live / -preview=dip1021 checks for mutable aliasing, which is 
something added on top of `scope` escape analysis.


More information about the Digitalmars-d mailing list