[Dlang-internal] Regression control & breaking changes policies

Mathias Lang via Dlang-internal dlang-internal at puremagic.com
Mon Dec 12 07:22:42 PST 2016


On Monday, 12 December 2016 at 08:01:19 UTC, Walter Bright wrote:
> On 12/11/2016 11:15 PM, Mathias Lang wrote:
>> On Monday, 12 December 2016 at 01:05:20 UTC, Walter Bright 
>> wrote:
>>> On 12/10/2016 6:14 AM, Mathias Lang via Dlang-internal wrote:
>>>> Since scope class are not testable, I wouldn't say it's 
>>>> finished.
>>>
>>> Please be more specific.
>>
>> - Due to a regression, we cannot have `scope`-allocated 
>> classes in `@safe` code
>> (https://github.com/dlang/dmd/pull/6279).
>
> That's both testable, and has been fixed.
>
>> - By design, `scope` rules are not enforced outside of `@safe` 
>> code
>
> Yes - many checks are not done outside of @safe code.
>
>> Ergo, one part of the feature (classes, a fairly important 
>> one) cannot be tested.
>
> Since it's by design, I don't see why that makes it unfinished.

Let's move this discussion to the DIP1000-related thread: 
https://forum.dlang.org/post/iphydbpprkuceqprkxhb@forum.dlang.org


More information about the Dlang-internal mailing list