[Dlang-internal] DIP1000 discussion and testing
Walter Bright via Dlang-internal
dlang-internal at puremagic.com
Sat Dec 17 18:43:59 PST 2016
On 12/17/2016 7:38 AM, Mathias Lang wrote:
>> Taking the address of a scope pointer is invalid
> Thanks for the clarification. I think this will prove pretty limiting in the
> future. For example, a stack allocator will return data that is already typed as
> `scope`, and as a consequence, interior pointers will not be expressible. I'll
> see if I can form an example in terms of code.
It should work fine.
> And since I started toying around with aggregate methods, here's another reason
> why changing the STC of a field member is a very bad idea:
It doesn't change the STC of field members. Only of locals.
---
I'll investigate the reports. Thanks!
More information about the Dlang-internal
mailing list