On Borrow Checking

Walter Bright newshound2 at digitalmars.com
Mon May 12 18:45:40 UTC 2025


On 5/12/2025 4:16 AM, Manu wrote:
> `scope` has nothing to do with @safe, and it MUST work in its own right, 
> otherwise the code is lying to the author, and it's an effective liability.

An escape hatch is always needed.

For example, you might want to interface with a 3rd party library that is 
scope-correct, but is not annotated with `scope`.


More information about the Digitalmars-d mailing list