[Dlang-internal] 15th Planning (national congress edition)

Walter Bright via Dlang-internal dlang-internal at puremagic.com
Wed Nov 9 23:41:16 PST 2016


On 11/9/2016 8:13 PM, Martin Nowak wrote:
> On Thursday, 10 November 2016 at 00:26:59 UTC, Walter Bright wrote:
>> On 11/9/2016 4:01 PM, Martin Nowak wrote:
>>> - finish scope story
>>
>> The only thing left on that is allowing this to work:
>
> +bugfixes, docs, changelog, and article

No unfixed bugs reported on it. I agree with the latter 3. Also, I am going to 
deliver a presentation on it next Wednesday at nwcpp.org.


>>   @safe void foo() {
>>     int i;
>>     int* pi = &i;
>>   }
>>
>> With the other improvements to scope, this no longer needs to be disallowed.
>
> Which is great and make @safe much more useful, but only one aspect of DIP1000.
> I think being able to tie the lifetime of a return value to the arguments of a
> function is the more fundamental and important change.

I agree. This is just fixing a loose end.



More information about the Dlang-internal mailing list