Opt-in non-null class references?

Mike Franklin slavo5150 at yahoo.com
Wed Feb 28 15:29:17 UTC 2018


On Wednesday, 28 February 2018 at 13:43:37 UTC, SimonN wrote:
> Hi,
>
> Andrei said in 2014 that not-null-references should be the 
> priority of 2014's language design, with consideration to make 
> not-null the default. In case the code breakage is too high, 
> this can be an opt-in compiler flag.

You might be interested in this little experiment:  
https://github.com/dlang/dmd/pull/7375

Mike



More information about the Digitalmars-d mailing list