Leak-detection of references to scoped class instances

Per Nordlöw per.nordlow at gmail.com
Sun Nov 24 21:49:19 UTC 2019


On Sunday, 24 November 2019 at 14:21:48 UTC, Adam D. Ruppe wrote:
> On Sunday, 24 November 2019 at 14:19:23 UTC, Per Nordlöw wrote:
>> Why doesn't DIP-1000 include such escape analysis?
>
> did you enable it with the command line switch?
>
> furthermore i *think* it onyl works o @safe stuff, not @trusted 
> stuff.

Yes, I did. As you remind me of DIP-1000 is only activate in 
@safe code.

I guess we need a builtin language qualifier for scoped classes 
for that to work, right?


More information about the Digitalmars-d-learn mailing list