[Dlang-internal] Regression control & breaking changes policies

Walter Bright via Dlang-internal dlang-internal at puremagic.com
Mon Dec 12 00:01:19 PST 2016


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.


More information about the Dlang-internal mailing list