DIP 1021--Argument Ownership and Function Calls--Final Review

Walter Bright newshound2 at digitalmars.com
Mon Sep 23 22:13:11 UTC 2019


On 9/23/2019 1:34 AM, Olivier FAURE wrote:
> Given @live as you described it, non- at live functions calling @live functions 
> would have to be @system or @trusted, which isn't a state you want half your 
> codebase to be in.

@live rules only apply to the internals of the @live function. At some point 
there must be a presumption that functions that call the @live function or the 
functions the @live function calls conform at least to the @live function interface.

Otherwise there is simply no way to incrementally adopt @live.


More information about the Digitalmars-d mailing list