Editions

jmh530 john.michael.hall at gmail.com
Tue Oct 21 17:51:30 UTC 2025


On Tuesday, 21 October 2025 at 15:18:57 UTC, Quirin Schroll wrote:
> On Tuesday, 1 April 2025 at 16:21:59 UTC, Atila Neves wrote:
>> https://github.com/atilaneves/DIPs/blob/editions/editions.md
>
> **TL;DR:** Guarantees made by attributes will differ between 
> editions and the DIP proposes nothing to mitigate that when the 
> information where (and therefore which) guarantees are being 
> made is erased.
>
> [snip]

This is the accepted version of the DIP
https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1052.md

It includes the following:
It is possible that later editions will fix @safety issues that 
cannot be fixed in earlier editions for fear of breaking existing 
code. In that case, this DIP recommends that functions from 
previous editions be treated as @system. Another way to get 
around this is to introduce @trusted imports.



More information about the dip.development mailing list