Destroying structs (literally)
Jonathan M Davis via Digitalmars-d
digitalmars-d at puremagic.com
Thu Aug 28 20:07:05 PDT 2014
On Friday, 29 August 2014 at 02:59:07 UTC, Dicebot wrote:
> On Friday, 29 August 2014 at 02:21:07 UTC, Andrei Alexandrescu
> wrote:
>> Dear community, are you ready for this?
>>
>> https://issues.dlang.org/show_bug.cgi?id=2834
>> https://github.com/D-Programming-Language/druntime/pull/864
>>
>> We must do it, and the way I see it the earlier the better.
>> Shall we do it in 2.067?
>>
>> This is a significant change of behavior. Should we provide a
>> temporary flag or attribute to disable it?
>>
>>
>> Thanks,
>>
>> Andrei
>
> I think providing rollback transition flag is simply a matter
> of politeness even if in this specific case it makes no sense
> to rely on existing broken behavior.
Since this is in the library, not the compiler, I'm not sure how
you'd do that (have the compiler specific a version identifier
for it?), but considering how broken the behavior was before and
that we don't normally provide flags to revert changes in
behavior, I'd argue that anyone who has problems with it should
just use the previous version of the compiler until they're ready
to update their code. It's not like we want to support the old
behavior for any real period of time anyway. It's just plain
broken.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list