Editions Ideas

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sat Jan 17 02:34:03 UTC 2026


On 17/01/2026 9:59 AM, Nick Treleaven wrote:
> On Friday, 16 January 2026 at 18:23:05 UTC, Quirin Schroll wrote:
> 
>     Replace magic properties with keywords and traits. For example, |
>     T.init| should be |default(T)|. The problem is that you can define
>     an eponymous member.
> 
> I think removing support in an edition for |.init| would be very 
> disruptive. Why not just ban redefining it? https://github.com/dlang/ 
> dmd/issues/18386 <https://github.com/dlang/dmd/issues/18386>
> 

Already in my list to ban it.


More information about the Digitalmars-d mailing list